mirror of
https://github.com/NixOS/nix
synced 2025-06-25 02:21:16 +02:00
tests/nixos: Work around network-online.target inactivity
This commit is contained in:
parent
55297f865c
commit
58b657b976
10 changed files with 20 additions and 20 deletions
|
@ -70,9 +70,9 @@ in
|
|||
server.copy_from_host("key.pub", "/root/.ssh/authorized_keys")
|
||||
server.wait_for_unit("sshd")
|
||||
server.wait_for_unit("multi-user.target")
|
||||
server.wait_for_unit("network-online.target")
|
||||
server.wait_for_unit("network-addresses-eth1.service")
|
||||
|
||||
client.wait_for_unit("network-online.target")
|
||||
client.wait_for_unit("network-addresses-eth1.service")
|
||||
client.succeed(f"ssh -o StrictHostKeyChecking=no {server.name} 'echo hello world'")
|
||||
|
||||
# Copy the closure of package A from the client to the server.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue