Skip to content

Commit

Permalink
nixos/tests/initrd-network-ssh: fix test
Browse files Browse the repository at this point in the history
It seems as it takes a moment until the initrd-network is loaded. Please
note that this is currently only reproducible on release-20.03.
  • Loading branch information
Ma27 committed Mar 4, 2020
1 parent 3c86a21 commit fffd09d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/tests/initrd-network-ssh/default.nix
Expand Up @@ -57,7 +57,7 @@ import ../make-test-python.nix ({ lib, ... }:
start_all()
client.wait_for_unit("network.target")
client.wait_until_succeeds("ping -c 1 server")
client.succeed(
client.wait_until_succeeds(
"ssh -i /etc/sshKey -o UserKnownHostsFile=/etc/knownHosts server 'touch /fnord'"
)
client.shutdown()
Expand Down

0 comments on commit fffd09d

Please sign in to comment.