From d02af66091e3233af01a2d6184ca5b47f7d7e726 Mon Sep 17 00:00:00 2001 From: Henri Menke Date: Tue, 22 Nov 2022 20:50:28 +0100 Subject: [PATCH] nixos/alps: fix for Hydra failure https://hydra.nixos.org/build/199758163 --- nixos/tests/alps.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nixos/tests/alps.nix b/nixos/tests/alps.nix index 8d7814117df1..3c30be1c1887 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") ''; })