nixosTests.pgadmin4: Use runTest

See https://github.com/NixOS/nixpkgs/issues/386873
This commit is contained in:
Robert Hensing 2025-03-04 00:42:31 +01:00
parent 082193eab1
commit 743cd3dfaf
2 changed files with 76 additions and 78 deletions

View file

@ -870,7 +870,7 @@ in {
peering-manager = handleTest ./web-apps/peering-manager.nix {}; peering-manager = handleTest ./web-apps/peering-manager.nix {};
peertube = handleTestOn ["x86_64-linux"] ./web-apps/peertube.nix {}; peertube = handleTestOn ["x86_64-linux"] ./web-apps/peertube.nix {};
peroxide = handleTest ./peroxide.nix {}; peroxide = handleTest ./peroxide.nix {};
pgadmin4 = handleTest ./pgadmin4.nix {}; pgadmin4 = runTest ./pgadmin4.nix;
pgbouncer = handleTest ./pgbouncer.nix {}; pgbouncer = handleTest ./pgbouncer.nix {};
pghero = runTest ./pghero.nix; pghero = runTest ./pghero.nix;
pgweb = runTest ./pgweb.nix; pgweb = runTest ./pgweb.nix;

View file

@ -1,7 +1,6 @@
import ./make-test-python.nix ( { lib, ... }:
{ pkgs, lib, ... }:
{ {
name = "pgadmin4"; name = "pgadmin4";
meta.maintainers = with lib.maintainers; [ meta.maintainers = with lib.maintainers; [
mkg20001 mkg20001
@ -84,5 +83,4 @@ import ./make-test-python.nix (
machine2.wait_for_unit("postgresql") machine2.wait_for_unit("postgresql")
machine2.wait_for_console_text("Password must be at least 12 characters long") machine2.wait_for_console_text("Password must be at least 12 characters long")
''; '';
} }
)