aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/nixos/tests/gitdaemon.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/nixos/tests/gitdaemon.nix')
-rw-r--r--nixpkgs/nixos/tests/gitdaemon.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/nixpkgs/nixos/tests/gitdaemon.nix b/nixpkgs/nixos/tests/gitdaemon.nix
index b610caf06fb..c4a707943ef 100644
--- a/nixpkgs/nixos/tests/gitdaemon.nix
+++ b/nixpkgs/nixos/tests/gitdaemon.nix
@@ -55,6 +55,9 @@ in {
with subtest("git daemon starts"):
server.wait_for_unit("git-daemon.service")
+ server.wait_for_unit("network-online.target")
+ client.wait_for_unit("network-online.target")
+
with subtest("client can clone project.git"):
client.succeed(
"git clone git://server/project.git /project",