Browse Source

refine vmess test

Darien Raymond 7 năm trước cách đây
mục cha
commit
8c08ca52eb
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      testing/scenarios/vmess_test.go

+ 1 - 1
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()