mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-17 14:57:44 -05:00
update mux test case
This commit is contained in:
parent
db8e09512c
commit
619c7b9e39
@ -878,7 +878,7 @@ func TestVMessGCMMux(t *testing.T) {
|
|||||||
|
|
||||||
for range "abcd" {
|
for range "abcd" {
|
||||||
var wg sync.WaitGroup
|
var wg sync.WaitGroup
|
||||||
const nConnection = 100
|
const nConnection = 16
|
||||||
wg.Add(nConnection)
|
wg.Add(nConnection)
|
||||||
for i := 0; i < nConnection; i++ {
|
for i := 0; i < nConnection; i++ {
|
||||||
go func() {
|
go func() {
|
||||||
@ -902,6 +902,7 @@ func TestVMessGCMMux(t *testing.T) {
|
|||||||
}()
|
}()
|
||||||
}
|
}
|
||||||
wg.Wait()
|
wg.Wait()
|
||||||
|
time.Sleep(time.Second)
|
||||||
}
|
}
|
||||||
|
|
||||||
CloseAllServers()
|
CloseAllServers()
|
||||||
|
Loading…
Reference in New Issue
Block a user