nixos/tests: fix adguardhome under network-online dep fix

This commit is contained in:
Jade Lovelace 2024-01-13 18:18:06 -08:00
parent fe474ed61a
commit a8a9424e4f

View File

@ -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")