about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorJulien Malka <julien@malka.sh>2023-01-15 15:48:48 +0100
committerJulien Malka <julien@malka.sh>2023-01-15 15:59:30 +0100
commitd40d0ce7e6fb6ad72132451de14d94abc8b1e0b4 (patch)
treecf1f5f9cb9e8556af3d999bf655b196035b962f3 /nixos
parent5291eac38a2a2d9275afa4f7e4b28c2d656aff72 (diff)
nixos/ntfy-sh: Fixed nixos test
Diffstat (limited to 'nixos')
-rw-r--r--nixos/tests/ntfy-sh.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/tests/ntfy-sh.nix b/nixos/tests/ntfy-sh.nix
index 9a36fcdf3922d..4492fb44cedc2 100644
--- a/nixos/tests/ntfy-sh.nix
+++ b/nixos/tests/ntfy-sh.nix
@@ -12,6 +12,8 @@ import ./make-test-python.nix {
 
     machine.wait_for_unit("multi-user.target")
 
+    machine.wait_for_open_port(80)
+
     machine.succeed(f"curl -d '{msg}' localhost:80/test")
 
     notif = json.loads(machine.succeed("curl -s localhost:80/test/json?poll=1"))