diff options
author | Fabian Möller <fabianm88@gmail.com> | 2020-10-21 16:47:28 +0200 |
---|---|---|
committer | Jon <jonringer@users.noreply.github.com> | 2020-10-23 18:12:45 -0700 |
commit | 253954232ec67e8e8bc974f9c2746a54eaa1e6db (patch) | |
tree | e27c45d7f0bab695fa79aef763ca7d17549b09dc /nixos | |
parent | e83bd25aec2c4acb7803c6fb259406a2c0fae4e7 (diff) |
nixosTests.ferm: fix network timeout
The subtests could start before the server has configured it's IP
addresses and therefore timeout.
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/tests/ferm.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/tests/ferm.nix b/nixos/tests/ferm.nix index a73c9ce739cf..112b5f19a7de 100644 --- a/nixos/tests/ferm.nix +++ b/nixos/tests/ferm.nix @@ -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") |