summary refs log tree commit diff
path: root/nixos/tests
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-04-17 10:53:08 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-04-17 10:53:08 +0200
commiteeb32fd82b1b30b3af16375de8dd8fc2918d43de (patch)
treecad68abe62db69d514b65a6cbd4f1c56f91e770e /nixos/tests
parent2503e7e0c897409c41d0bffcc46e40ea1826a539 (diff)
downloadnixlib-eeb32fd82b1b30b3af16375de8dd8fc2918d43de.tar
nixlib-eeb32fd82b1b30b3af16375de8dd8fc2918d43de.tar.gz
nixlib-eeb32fd82b1b30b3af16375de8dd8fc2918d43de.tar.bz2
nixlib-eeb32fd82b1b30b3af16375de8dd8fc2918d43de.tar.lz
nixlib-eeb32fd82b1b30b3af16375de8dd8fc2918d43de.tar.xz
nixlib-eeb32fd82b1b30b3af16375de8dd8fc2918d43de.tar.zst
nixlib-eeb32fd82b1b30b3af16375de8dd8fc2918d43de.zip
Hopefully fix random failure in cups test
http://hydra.nixos.org/build/10372895
Diffstat (limited to 'nixos/tests')
-rw-r--r--nixos/tests/printing.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/tests/printing.nix b/nixos/tests/printing.nix
index 9ef28dcfcd4d..9b96e3d7b20c 100644
--- a/nixos/tests/printing.nix
+++ b/nixos/tests/printing.nix
@@ -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/");