about summary refs log tree commit diff
path: root/nixos/tests/shadowsocks
diff options
context:
space:
mode:
authorHenri Menke <henri@henrimenke.de>2023-05-26 11:24:21 +0200
committerHenri Menke <henri@henrimenke.de>2023-05-26 11:24:21 +0200
commit7d621d6be533025270fcb59fd65445a789233648 (patch)
treeca3a19ff54c6d89ebc8716fdee4b515f7a9c0df9 /nixos/tests/shadowsocks
parentc0172431d89b0421ae3b998ba97d8e4d5ca0f7d6 (diff)
nixos/shadowsocks: wait for nginx to prevent race condition
Diffstat (limited to 'nixos/tests/shadowsocks')
-rw-r--r--nixos/tests/shadowsocks/common.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/tests/shadowsocks/common.nix b/nixos/tests/shadowsocks/common.nix
index 8cbbc3f206848..82a63771b03ab 100644
--- a/nixos/tests/shadowsocks/common.nix
+++ b/nixos/tests/shadowsocks/common.nix
@@ -69,6 +69,7 @@ import ../make-test-python.nix ({ pkgs, lib, ... }: {
       start_all()
 
       server.wait_for_unit("shadowsocks-libev.service")
+      server.wait_for_unit("nginx.service")
       client.wait_for_unit("shadowsocks-client.service")
 
       client.fail(