diff options
author | Jascha Geerds <jg@ekby.de> | 2015-05-13 14:22:06 +0200 |
---|---|---|
committer | Jascha Geerds <jg@ekby.de> | 2015-05-13 14:22:30 +0200 |
commit | 92317259efd591a6107c01123a606c3c96b9066b (patch) | |
tree | 35e1fdfca01654a1535c173d881c18d82cbc294b /nixos/tests/printing.nix | |
parent | e46a796f5d99c405111898bc5aa63783021a12de (diff) |
cups: First attempt to fix our printing tests; wait until cups is fully initialized
Diffstat (limited to 'nixos/tests/printing.nix')
-rw-r--r-- | nixos/tests/printing.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/tests/printing.nix b/nixos/tests/printing.nix index 708ff53915703..e8c41140045c2 100644 --- a/nixos/tests/printing.nix +++ b/nixos/tests/printing.nix @@ -34,6 +34,7 @@ import ./make-test.nix ({pkgs, ... }: { # Make sure that cups is up on both sides. $server->waitForUnit("cups.service"); $client->waitForUnit("cups.service"); + $client->sleep(10); # wait until cups is fully initialized $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/"); |