about summary refs log tree commit diff
path: root/nixos/tests
diff options
context:
space:
mode:
authorMartin Weinelt <mweinelt@users.noreply.github.com>2022-11-25 01:34:53 +0100
committerGitHub <noreply@github.com>2022-11-25 01:34:53 +0100
commita4e5468bc03cc169ac0d2fad5186c02747ea8e55 (patch)
treeb22128532f9ef56da277356167eea855752d3db1 /nixos/tests
parent51e70a70df443c1133d55faa01d28f4b83f46bd3 (diff)
parentd02af66091e3233af01a2d6184ca5b47f7d7e726 (diff)
Merge pull request #202187 from hmenke/alps
Diffstat (limited to 'nixos/tests')
-rw-r--r--nixos/tests/alps.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/tests/alps.nix b/nixos/tests/alps.nix
index 8d7814117df1e..3c30be1c18874 100644
--- a/nixos/tests/alps.nix
+++ b/nixos/tests/alps.nix
@@ -90,7 +90,7 @@ import ./make-test-python.nix ({ pkgs, ... }: {
     };
   };
 
-  testScript = ''
+  testScript = { nodes, ... }: ''
     server.start()
     server.wait_for_unit("postfix.service")
     server.wait_for_unit("dovecot2.service")
@@ -99,6 +99,7 @@ import ./make-test-python.nix ({ pkgs, ... }: {
 
     client.start()
     client.wait_for_unit("alps.service")
+    client.wait_for_open_port(${toString nodes.client.config.services.alps.port})
     client.succeed("test-alps-login")
   '';
 })