summary refs log tree commit diff
path: root/nixos/tests/pinnwand.nix
diff options
context:
space:
mode:
authorMartin Weinelt <hexa@darmstadt.ccc.de>2021-04-30 00:03:43 +0200
committerMartin Weinelt <hexa@darmstadt.ccc.de>2021-05-03 16:52:06 +0200
commitb208338c3669648f03e7dda5d4107e5e79993907 (patch)
treec56c840d3e1cf4e3099b3af25a9aac7cde3264b2 /nixos/tests/pinnwand.nix
parent7b2bc43dba0f705987cc8c1f35620a4021838ac8 (diff)
downloadnixpkgs-b208338c3669648f03e7dda5d4107e5e79993907.tar
nixpkgs-b208338c3669648f03e7dda5d4107e5e79993907.tar.gz
nixpkgs-b208338c3669648f03e7dda5d4107e5e79993907.tar.bz2
nixpkgs-b208338c3669648f03e7dda5d4107e5e79993907.tar.lz
nixpkgs-b208338c3669648f03e7dda5d4107e5e79993907.tar.xz
nixpkgs-b208338c3669648f03e7dda5d4107e5e79993907.tar.zst
nixpkgs-b208338c3669648f03e7dda5d4107e5e79993907.zip
nixos/tests/pinnwand: use wait_for_open_port instead of direct sockstat call
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")