mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-26 02:05:02 +00:00
nixos/tests/initrd-network-ssh: fix test
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.
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user