nixos/tests/armagetronad: fix test runner
This commit is contained in:
parent
6df05dd279
commit
4fb4d7a3b4
1 changed files with 9 additions and 3 deletions
|
@ -1,4 +1,9 @@
|
|||
import ./make-test-python.nix ({ pkgs, ...} :
|
||||
{ system ? builtins.currentSystem,
|
||||
config ? {},
|
||||
pkgs ? import ../.. { inherit system config; }
|
||||
}:
|
||||
|
||||
with import ../lib/testing-python.nix { inherit system pkgs; };
|
||||
|
||||
let
|
||||
user = "alice";
|
||||
|
@ -16,7 +21,8 @@ let
|
|||
test-support.displayManager.auto.user = user;
|
||||
};
|
||||
|
||||
in {
|
||||
in
|
||||
makeTest {
|
||||
name = "armagetronad";
|
||||
meta = with pkgs.lib.maintainers; {
|
||||
maintainers = [ numinit ];
|
||||
|
@ -269,4 +275,4 @@ in {
|
|||
srv.node.wait_until_fails(f"ss --numeric --udp --listening | grep -q {srv.port}")
|
||||
'';
|
||||
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue