nixosTests.gerrit: Migrate to runTest

Signed-off-by: Felix Singer <felixsinger@posteo.net>
This commit is contained in:
Felix Singer 2025-04-05 09:12:20 +02:00
parent 50df425cd5
commit 9ef0e4580e
2 changed files with 47 additions and 49 deletions

View file

@ -511,7 +511,7 @@ in
gemstash = handleTest ./gemstash.nix { }; gemstash = handleTest ./gemstash.nix { };
geoclue2 = runTest ./geoclue2.nix; geoclue2 = runTest ./geoclue2.nix;
geoserver = runTest ./geoserver.nix; geoserver = runTest ./geoserver.nix;
gerrit = handleTest ./gerrit.nix { }; gerrit = runTest ./gerrit.nix;
geth = handleTest ./geth.nix { }; geth = handleTest ./geth.nix { };
ghostunnel = handleTest ./ghostunnel.nix { }; ghostunnel = handleTest ./ghostunnel.nix { };
gitdaemon = handleTest ./gitdaemon.nix { }; gitdaemon = handleTest ./gitdaemon.nix { };

View file

@ -1,7 +1,6 @@
import ./make-test-python.nix ( { pkgs, ... }:
{ pkgs, ... }:
{ {
name = "gerrit"; name = "gerrit";
meta = with pkgs.lib.maintainers; { meta = with pkgs.lib.maintainers; {
@ -53,5 +52,4 @@ import ./make-test-python.nix (
server.wait_for_open_port(2222) server.wait_for_open_port(2222)
client.succeed("nc -z server 2222") client.succeed("nc -z server 2222")
''; '';
} }
)