summary refs log tree commit diff
path: root/nixos/tests/proxy.nix
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2015-08-31 18:34:22 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2015-08-31 18:36:32 +0200
commitc839c988f4f7546552217b76e8285d085b87b91e (patch)
tree4bb60ebcefe8cdd8268c2912afdb810d6d6fd130 /nixos/tests/proxy.nix
parent9000ddce902ee87cb2db683f83f639685f685095 (diff)
downloadnixlib-c839c988f4f7546552217b76e8285d085b87b91e.tar
nixlib-c839c988f4f7546552217b76e8285d085b87b91e.tar.gz
nixlib-c839c988f4f7546552217b76e8285d085b87b91e.tar.bz2
nixlib-c839c988f4f7546552217b76e8285d085b87b91e.tar.lz
nixlib-c839c988f4f7546552217b76e8285d085b87b91e.tar.xz
nixlib-c839c988f4f7546552217b76e8285d085b87b91e.tar.zst
nixlib-c839c988f4f7546552217b76e8285d085b87b91e.zip
Make proxy test more robust
http://hydra.nixos.org/build/25322489
Diffstat (limited to 'nixos/tests/proxy.nix')
-rw-r--r--nixos/tests/proxy.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/tests/proxy.nix b/nixos/tests/proxy.nix
index b43ce1b8e680..3fee1d325384 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/");