mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-02 07:26:24 -05:00
Delay Closing Connection so that test have chance to complete(Additional)
This commit is contained in:
parent
dd8e957f59
commit
8cf38342e9
@ -1165,7 +1165,6 @@ func TestVMessGCMMuxUDP(t *testing.T) {
|
||||
|
||||
servers, err := InitializeServerConfigs(serverConfig, clientConfig)
|
||||
common.Must(err)
|
||||
defer CloseAllServers(servers)
|
||||
|
||||
for range "abcd" {
|
||||
var errg errgroup.Group
|
||||
@ -1178,4 +1177,9 @@ func TestVMessGCMMuxUDP(t *testing.T) {
|
||||
}
|
||||
time.Sleep(time.Second)
|
||||
}
|
||||
|
||||
defer func(){
|
||||
<-time.After(5*time.Second)
|
||||
CloseAllServers(servers)
|
||||
}()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user