Explorar o código

refine vmess test

Darien Raymond %!s(int64=7) %!d(string=hai) anos
pai
achega
8c08ca52eb
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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()