nixosTests.ferm: fix network timeout
The subtests could start before the server has configured it's IP addresses and therefore timeout.
This commit is contained in:
parent
e83bd25aec
commit
253954232e
|
@ -56,6 +56,7 @@ import ./make-test-python.nix ({ pkgs, ...} : {
|
|||
start_all()
|
||||
|
||||
client.wait_for_unit("network-online.target")
|
||||
server.wait_for_unit("network-online.target")
|
||||
server.wait_for_unit("ferm.service")
|
||||
server.wait_for_unit("nginx.service")
|
||||
server.wait_until_succeeds("ss -ntl | grep -q 80")
|
||||
|
|
Loading…
Reference in a new issue