Skip to content

Commit

Permalink
nixosTests.ferm: fix network timeout
Browse files Browse the repository at this point in the history
The subtests could start before the server has configured it's IP
addresses and therefore timeout.

(cherry picked from commit 2539542)
  • Loading branch information
B4dM4n authored and Jon committed Oct 24, 2020
1 parent 77d3b0f commit f928b39
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nixos/tests/ferm.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit f928b39

Please sign in to comment.