mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 05:00:16 +00:00
nixos/tests/pinnwand: use wait_for_open_port instead of direct sockstat call
This commit is contained in:
parent
7b2bc43dba
commit
b208338c36
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue