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.
  • Loading branch information
B4dM4n authored and jonringer committed Oct 24, 2020
1 parent e83bd25 commit 2539542
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 2539542

Please sign in to comment.