|
|
@ -919,7 +919,6 @@ func TestVMessKCPLarge(t *testing.T) {
|
|
|
|
|
|
|
|
|
|
|
|
servers, err := InitializeServerConfigs(serverConfig, clientConfig)
|
|
|
|
servers, err := InitializeServerConfigs(serverConfig, clientConfig)
|
|
|
|
common.Must(err)
|
|
|
|
common.Must(err)
|
|
|
|
defer CloseAllServers(servers)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var errg errgroup.Group
|
|
|
|
var errg errgroup.Group
|
|
|
|
for i := 0; i < 2; i++ {
|
|
|
|
for i := 0; i < 2; i++ {
|
|
|
@ -928,6 +927,11 @@ func TestVMessKCPLarge(t *testing.T) {
|
|
|
|
if err := errg.Wait(); err != nil {
|
|
|
|
if err := errg.Wait(); err != nil {
|
|
|
|
t.Error(err)
|
|
|
|
t.Error(err)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
defer func(){
|
|
|
|
|
|
|
|
<-time.After(5*time.Second)
|
|
|
|
|
|
|
|
CloseAllServers(servers)
|
|
|
|
|
|
|
|
}()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func TestVMessGCMMux(t *testing.T) {
|
|
|
|
func TestVMessGCMMux(t *testing.T) {
|
|
|
|