Make proxy test more robust

http://hydra.nixos.org/build/25322489
This commit is contained in:
Eelco Dolstra 2015-08-31 18:34:22 +02:00
parent 9000ddce90
commit c839c988f4

View File

@ -67,6 +67,7 @@ in
$proxy->waitForUnit("httpd"); $proxy->waitForUnit("httpd");
$backend1->waitForUnit("httpd"); $backend1->waitForUnit("httpd");
$backend2->waitForUnit("httpd"); $backend2->waitForUnit("httpd");
$client->waitForUnit("network.target");
# With the back-ends up, the proxy should work. # With the back-ends up, the proxy should work.
$client->succeed("curl --fail http://proxy/"); $client->succeed("curl --fail http://proxy/");