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")
|
client.wait_until_succeeds("ping -c1 server")
|
||||||
|
|
||||||
# make sure pinnwand is listening
|
# 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
|
# send the contents of /etc/machine-id
|
||||||
response = client.succeed("steck paste /etc/machine-id")
|
response = client.succeed("steck paste /etc/machine-id")
|
||||||
|
|
Loading…
Reference in New Issue