summary refs log tree commit diff
diff options
context:
space:
mode:
authorNick Cao <nickcao@nichi.co>2023-05-28 23:31:37 -0600
committerGitHub <noreply@github.com>2023-05-28 23:31:37 -0600
commit6287b47dbfabbb8bfbb9b1b53d198ad58a774de4 (patch)
tree9f191b5eaf8b8bc6375075c4325c8babe42070c6
parent3af35e016044fb6f8bf63bebb9ea6c8cb6e569b0 (diff)
parent0f7dc597a19efbcbb7aacb66dae389dfc8b6e265 (diff)
Merge pull request #234704 from NixOS/backport-234186-to-release-23.05
[Backport release-23.05] nixos/shadowsocks: wait for nginx to prevent race condition
-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(