about summary refs log tree commit diff
path: root/nixos/tests/upnp.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/tests/upnp.nix')
-rw-r--r--nixos/tests/upnp.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/tests/upnp.nix b/nixos/tests/upnp.nix
index 5e135267403bd..93bc08f752ce3 100644
--- a/nixos/tests/upnp.nix
+++ b/nixos/tests/upnp.nix
@@ -81,11 +81,13 @@ in
       start_all()
 
       # Wait for network and miniupnpd.
+      router.systemctl("start network-online.target")
       router.wait_for_unit("network-online.target")
       # $router.wait_for_unit("nat")
       router.wait_for_unit("${if useNftables then "nftables" else "firewall"}.service")
       router.wait_for_unit("miniupnpd")
 
+      client1.systemctl("start network-online.target")
       client1.wait_for_unit("network-online.target")
 
       client1.succeed("upnpc -a ${internalClient1Address} 9000 9000 TCP")