diff options
author | Martin Weinelt <hexa@darmstadt.ccc.de> | 2021-04-30 00:03:43 +0200 |
---|---|---|
committer | Martin Weinelt <hexa@darmstadt.ccc.de> | 2021-05-03 16:52:06 +0200 |
commit | b208338c3669648f03e7dda5d4107e5e79993907 (patch) | |
tree | c56c840d3e1cf4e3099b3af25a9aac7cde3264b2 /nixos/tests/pinnwand.nix | |
parent | 7b2bc43dba0f705987cc8c1f35620a4021838ac8 (diff) | |
download | nixpkgs-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.nix | 2 |
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") |