From eeb32fd82b1b30b3af16375de8dd8fc2918d43de Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 17 Apr 2014 10:53:08 +0200 Subject: [PATCH] Hopefully fix random failure in cups test http://hydra.nixos.org/build/10372895 --- nixos/tests/printing.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nixos/tests/printing.nix b/nixos/tests/printing.nix index 9ef28dcfcd4..9b96e3d7b20 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/");