nixos/tests: fix systemd-networkd-dhcpserver under network-online dep fix

This commit is contained in:
Jade Lovelace 2023-10-02 23:49:26 -07:00
parent 9ed2e58b70
commit c125c23468

View file

@ -101,6 +101,9 @@ import ./make-test-python.nix ({pkgs, ...}: {
};
testScript = { ... }: ''
start_all()
router.systemctl("start network-online.target")
client.systemctl("start network-online.target")
router.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")