Hopefully fix random failure in cups test
http://hydra.nixos.org/build/10372895
This commit is contained in:
parent
2503e7e0c8
commit
eeb32fd82b
1 changed files with 2 additions and 0 deletions
|
@ -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/");
|
||||
|
|
Loading…
Reference in a new issue