summary refs log tree commit diff
path: root/nixos/tests/pinnwand.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/tests/pinnwand.nix')
-rw-r--r--nixos/tests/pinnwand.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/pinnwand.nix b/nixos/tests/pinnwand.nix
index dc8c2744a81..0391c413311 100644
--- a/nixos/tests/pinnwand.nix
+++ b/nixos/tests/pinnwand.nix
@@ -61,7 +61,7 @@ in
     client.wait_until_succeeds("ping -c1 server")
 
     # make sure pinnwand is listening
-    server.wait_until_succeeds("ss -lnp | grep ${toString port}")
+    server.wait_for_open_port(${toString port})
 
     # send the contents of /etc/machine-id
     response = client.succeed("steck paste /etc/machine-id")