diff --git a/nixos/tests/proxy.nix b/nixos/tests/proxy.nix index b43ce1b8e68..3fee1d32538 100644 --- a/nixos/tests/proxy.nix +++ b/nixos/tests/proxy.nix @@ -67,6 +67,7 @@ in $proxy->waitForUnit("httpd"); $backend1->waitForUnit("httpd"); $backend2->waitForUnit("httpd"); + $client->waitForUnit("network.target"); # With the back-ends up, the proxy should work. $client->succeed("curl --fail http://proxy/");