From b208338c3669648f03e7dda5d4107e5e79993907 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Fri, 30 Apr 2021 00:03:43 +0200 Subject: [PATCH] nixos/tests/pinnwand: use wait_for_open_port instead of direct sockstat call --- nixos/tests/pinnwand.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/tests/pinnwand.nix b/nixos/tests/pinnwand.nix index dc8c2744a81f..0391c4133111 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")