diff options
-rw-r--r-- | tests/nixos/github-flakes.nix | 4 | ||||
-rw-r--r-- | tests/nixos/sourcehut-flakes.nix | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/tests/nixos/github-flakes.nix b/tests/nixos/github-flakes.nix index 079e79451..4830be6ac 100644 --- a/tests/nixos/github-flakes.nix +++ b/tests/nixos/github-flakes.nix @@ -160,6 +160,10 @@ in def cat_log(): github.succeed("cat /var/log/httpd/*.log >&2") + client.succeed("systemctl start network-online.target") + github.succeed("systemctl start network-online.target") + client.wait_for_unit("network-online.target") + github.wait_for_unit("network-online.target") github.wait_for_unit("httpd.service") client.succeed("curl -v https://github.com/ >&2") diff --git a/tests/nixos/sourcehut-flakes.nix b/tests/nixos/sourcehut-flakes.nix index 04f3590e1..714b518d1 100644 --- a/tests/nixos/sourcehut-flakes.nix +++ b/tests/nixos/sourcehut-flakes.nix @@ -121,6 +121,10 @@ in start_all() + client.succeed("systemctl start network-online.target") + sourcehut.succeed("systemctl start network-online.target") + client.wait_for_unit("network-online.target") + sourcehut.wait_for_unit("network-online.target") sourcehut.wait_for_unit("httpd.service") client.succeed("curl -v https://git.sr.ht/ >&2") |