nixos/tests: fix buildbot under network-online dep fix
This commit is contained in:
parent
274466d1fc
commit
9fe27a9567
1 changed files with 2 additions and 0 deletions
|
@ -71,6 +71,7 @@ import ./make-test-python.nix ({ pkgs, ... }: {
|
|||
gitrepo.wait_for_unit("multi-user.target")
|
||||
|
||||
with subtest("Repo is accessible via git daemon"):
|
||||
bbmaster.systemctl("start network-online.target")
|
||||
bbmaster.wait_for_unit("network-online.target")
|
||||
bbmaster.succeed("rm -rfv /tmp/fakerepo")
|
||||
bbmaster.succeed("git clone git://gitrepo/fakerepo /tmp/fakerepo")
|
||||
|
@ -78,6 +79,7 @@ import ./make-test-python.nix ({ pkgs, ... }: {
|
|||
with subtest("Master service and worker successfully connect"):
|
||||
bbmaster.wait_for_unit("buildbot-master.service")
|
||||
bbmaster.wait_until_succeeds("curl --fail -s --head http://bbmaster:8010")
|
||||
bbworker.systemctl("start network-online.target")
|
||||
bbworker.wait_for_unit("network-online.target")
|
||||
bbworker.succeed("nc -z bbmaster 8010")
|
||||
bbworker.succeed("nc -z bbmaster 9989")
|
||||
|
|
Loading…
Reference in a new issue