forked from lix-project/lix
tests: unhaunt the flakes nixos tests
these should really wait for networks to come up, otherwise they can fail.
fixes #235
Change-Id: I08989e8bdb0de280df74660ac43983de5c34fa9d
This commit is contained in:
parent
7d32c05e21
commit
03bb90c828
|
@ -160,6 +160,10 @@ in
|
||||||
def cat_log():
|
def cat_log():
|
||||||
github.succeed("cat /var/log/httpd/*.log >&2")
|
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")
|
github.wait_for_unit("httpd.service")
|
||||||
|
|
||||||
client.succeed("curl -v https://github.com/ >&2")
|
client.succeed("curl -v https://github.com/ >&2")
|
||||||
|
|
|
@ -121,6 +121,10 @@ in
|
||||||
|
|
||||||
start_all()
|
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")
|
sourcehut.wait_for_unit("httpd.service")
|
||||||
|
|
||||||
client.succeed("curl -v https://git.sr.ht/ >&2")
|
client.succeed("curl -v https://git.sr.ht/ >&2")
|
||||||
|
|
Loading…
Reference in a new issue