From 253954232ec67e8e8bc974f9c2746a54eaa1e6db Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fabian=20M=C3=B6ller?= <fabianm88@gmail.com>
Date: Wed, 21 Oct 2020 16:47:28 +0200
Subject: [PATCH] nixosTests.ferm: fix network timeout

The subtests could start before the server has configured it's IP
addresses and therefore timeout.
---
 nixos/tests/ferm.nix | 1 +
 1 file changed, 1 insertion(+)

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")