From c125c234687dfecc225ee0560b0587287e934c1b Mon Sep 17 00:00:00 2001 From: Jade Lovelace Date: Mon, 2 Oct 2023 23:49:26 -0700 Subject: [PATCH] nixos/tests: fix systemd-networkd-dhcpserver under network-online dep fix --- nixos/tests/systemd-networkd-dhcpserver.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nixos/tests/systemd-networkd-dhcpserver.nix b/nixos/tests/systemd-networkd-dhcpserver.nix index cf0ccb744211..665d8b5a0529 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")