Explorar el Código

refine vmess test

Darien Raymond hace 7 años
padre
commit
8c08ca52eb
Se han modificado 1 ficheros con 1 adiciones y 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()