From 619c7b9e391928dc3fd03624837f70ea371651c0 Mon Sep 17 00:00:00 2001 From: Darien Raymond Date: Tue, 4 Apr 2017 11:08:06 +0200 Subject: [PATCH] update mux test case --- testing/scenarios/vmess_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/testing/scenarios/vmess_test.go b/testing/scenarios/vmess_test.go index ea67393f..0322348b 100644 --- a/testing/scenarios/vmess_test.go +++ b/testing/scenarios/vmess_test.go @@ -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()