From 8c08ca52ebe780da4eb0035bc92e955f9fc17b23 Mon Sep 17 00:00:00 2001 From: Darien Raymond Date: Tue, 31 Jul 2018 16:16:52 +0200 Subject: [PATCH] refine vmess test --- testing/scenarios/vmess_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/scenarios/vmess_test.go b/testing/scenarios/vmess_test.go index 21a5626d..d6252cf7 100644 --- a/testing/scenarios/vmess_test.go +++ b/testing/scenarios/vmess_test.go @@ -270,8 +270,8 @@ func TestVMessGCM(t *testing.T) { defer CloseAllServers(servers) var wg sync.WaitGroup - wg.Add(10) for i := 0; i < 10; i++ { + wg.Add(1) go func() { defer wg.Done()