about summary refs log tree commit diff
path: root/nixos/tests/opensmtpd.nix
diff options
context:
space:
mode:
authorJade Lovelace <software@lfcode.ca>2023-10-03 00:26:02 -0700
committerJade Lovelace <software@lfcode.ca>2024-01-18 16:28:41 -0800
commitc940ae656d842717c0aaecb90fee3b339e54dea0 (patch)
tree75c312da7e6572ea3cf5287b64e91dbe8aa80ae3 /nixos/tests/opensmtpd.nix
parent80edf319fedd0a067e8145312140a76caf95731a (diff)
nixos/tests: fix opensmtpd under network-online dep fix
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")