update mux test case

pull/432/head
Darien Raymond 2017-04-04 11:08:06 +02:00
parent db8e09512c
commit 619c7b9e39
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169
1 changed files with 2 additions and 1 deletions

View File

@ -878,7 +878,7 @@ func TestVMessGCMMux(t *testing.T) {
for range "abcd" {
var wg sync.WaitGroup
const nConnection = 100
const nConnection = 16
wg.Add(nConnection)
for i := 0; i < nConnection; i++ {
go func() {
@ -902,6 +902,7 @@ func TestVMessGCMMux(t *testing.T) {
}()
}
wg.Wait()
time.Sleep(time.Second)
}
CloseAllServers()