mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 19:33:03 +00:00
nixos/tests: fix adguardhome under network-online dep fix
This commit is contained in:
parent
fe474ed61a
commit
a8a9424e4f
@ -126,6 +126,7 @@
|
|||||||
|
|
||||||
with subtest("Testing successful DHCP start"):
|
with subtest("Testing successful DHCP start"):
|
||||||
dhcpConf.wait_for_unit("adguardhome.service")
|
dhcpConf.wait_for_unit("adguardhome.service")
|
||||||
|
client.systemctl("start network-online.target")
|
||||||
client.wait_for_unit("network-online.target")
|
client.wait_for_unit("network-online.target")
|
||||||
# Test IP assignment via DHCP
|
# Test IP assignment via DHCP
|
||||||
dhcpConf.wait_until_succeeds("ping -c 5 10.0.10.100")
|
dhcpConf.wait_until_succeeds("ping -c 5 10.0.10.100")
|
||||||
|
Loading…
Reference in New Issue
Block a user