From 0f7dc597a19efbcbb7aacb66dae389dfc8b6e265 Mon Sep 17 00:00:00 2001 From: Henri Menke Date: Fri, 26 May 2023 11:24:21 +0200 Subject: [PATCH] nixos/shadowsocks: wait for nginx to prevent race condition (cherry picked from commit 7d621d6be533025270fcb59fd65445a789233648) --- nixos/tests/shadowsocks/common.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/tests/shadowsocks/common.nix b/nixos/tests/shadowsocks/common.nix index 8cbbc3f20684..82a63771b03a 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(