about summary refs log tree commit diff
path: root/nixos/tests/opensmtpd.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/tests/opensmtpd.nix')
-rw-r--r--nixos/tests/opensmtpd.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/tests/opensmtpd.nix b/nixos/tests/opensmtpd.nix
index 17c1a569ba0d9..d32f82ed33b8c 100644
--- a/nixos/tests/opensmtpd.nix
+++ b/nixos/tests/opensmtpd.nix
@@ -104,6 +104,7 @@ import ./make-test-python.nix {
   testScript = ''
     start_all()
 
+    client.systemctl("start network-online.target")
     client.wait_for_unit("network-online.target")
     smtp1.wait_for_unit("opensmtpd")
     smtp2.wait_for_unit("opensmtpd")