about summary refs log tree commit diff
path: root/nixos/tests/3proxy.nix
diff options
context:
space:
mode:
authormisuzu <bakalolka@gmail.com>2020-08-18 16:53:30 +0300
committermisuzu <bakalolka@gmail.com>2020-09-01 14:31:52 +0300
commit0c688868e7a02cb197b9c0b60339400fac904214 (patch)
treec0f477d3efffe120888ea6f2fe751fff62d9d6cf /nixos/tests/3proxy.nix
parent1e3f09feaa5667be4ed6eca96a984b4642420b83 (diff)
nixosTests.3proxy: fix flakiness
Diffstat (limited to 'nixos/tests/3proxy.nix')
-rw-r--r--nixos/tests/3proxy.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/nixos/tests/3proxy.nix b/nixos/tests/3proxy.nix
index 3e2061d7e42fd..de3056f6710f5 100644
--- a/nixos/tests/3proxy.nix
+++ b/nixos/tests/3proxy.nix
@@ -134,6 +134,10 @@ import ./make-test-python.nix ({ pkgs, ...} : {
   };
 
   testScript = ''
+    start_all()
+
+    peer0.wait_for_unit("network-online.target")
+
     peer1.wait_for_unit("3proxy.service")
     peer1.wait_for_open_port("9999")