mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-11 07:15:54 +03:00
nixos/tests: fix systemd-networkd-dhcpserver under network-online dep fix
This commit is contained in:
parent
9ed2e58b70
commit
c125c23468
@ -101,6 +101,9 @@ import ./make-test-python.nix ({pkgs, ...}: {
|
|||||||
};
|
};
|
||||||
testScript = { ... }: ''
|
testScript = { ... }: ''
|
||||||
start_all()
|
start_all()
|
||||||
|
|
||||||
|
router.systemctl("start network-online.target")
|
||||||
|
client.systemctl("start network-online.target")
|
||||||
router.wait_for_unit("systemd-networkd-wait-online.service")
|
router.wait_for_unit("systemd-networkd-wait-online.service")
|
||||||
client.wait_for_unit("systemd-networkd-wait-online.service")
|
client.wait_for_unit("systemd-networkd-wait-online.service")
|
||||||
client.wait_until_succeeds("ping -c 5 10.0.2.1")
|
client.wait_until_succeeds("ping -c 5 10.0.2.1")
|
||||||
|
Loading…
Reference in New Issue
Block a user