about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorRyan Lahfa <masterancpp@gmail.com>2023-01-15 17:06:50 +0100
committerGitHub <noreply@github.com>2023-01-15 17:06:50 +0100
commitdf1262baae9b310c0f4dcad35482465c267d3fbf (patch)
tree313a3c793f9a6cd7db22ae40918e78ae2ce77be3 /nixos
parentcf10d7aef8ff9ca0e178e87981d9e4fd3018193c (diff)
parentd40d0ce7e6fb6ad72132451de14d94abc8b1e0b4 (diff)
Merge pull request #210927 from JulienMalka/Ntfy-test-fix
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"))