Hopefully fix random failure in cups test

http://hydra.nixos.org/build/10372895
This commit is contained in:
Eelco Dolstra 2014-04-17 10:53:08 +02:00
parent 2503e7e0c8
commit eeb32fd82b

View file

@ -31,7 +31,9 @@ import ./make-test.nix ({pkgs, ... }: {
# Make sure that cups is up on both sides.
$server->waitForUnit("cupsd.service");
$server->waitForUnit("network.target");
$client->waitForUnit("cupsd.service");
$client->waitForUnit("network.target");
$client->succeed("lpstat -r") =~ /scheduler is running/ or die;
$client->succeed("lpstat -H") =~ "/var/run/cups/cups.sock" or die;
$client->succeed("curl --fail http://localhost:631/");