about summary refs log tree commit diff
path: root/nixos/tests/systemd-networkd-dhcpserver.nix
diff options
context:
space:
mode:
authorJade Lovelace <software@lfcode.ca>2023-10-02 23:49:26 -0700
committerJade Lovelace <software@lfcode.ca>2024-01-18 16:28:41 -0800
commitc125c234687dfecc225ee0560b0587287e934c1b (patch)
tree2cae4ca0f4a13d7953f86accff9d550bdac85660 /nixos/tests/systemd-networkd-dhcpserver.nix
parent9ed2e58b7051c8a2193e9db0a92526427c61f006 (diff)
nixos/tests: fix systemd-networkd-dhcpserver under network-online dep fix
Diffstat (limited to 'nixos/tests/systemd-networkd-dhcpserver.nix')
-rw-r--r--nixos/tests/systemd-networkd-dhcpserver.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/nixos/tests/systemd-networkd-dhcpserver.nix b/nixos/tests/systemd-networkd-dhcpserver.nix
index cf0ccb7442118..665d8b5a05291 100644
--- a/nixos/tests/systemd-networkd-dhcpserver.nix
+++ b/nixos/tests/systemd-networkd-dhcpserver.nix
@@ -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")