nixos/tests/pinnwand: use wait_for_open_port instead of direct sockstat call

master
Martin Weinelt 2021-04-30 00:03:43 +02:00
parent 7b2bc43dba
commit b208338c36
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759
1 changed files with 1 additions and 1 deletions

View File

@ -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")