mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-06-12 11:29:36 +03:00
WS, HU: Remove unnecessary sleep from test (#3600)
This commit is contained in:
@ -58,7 +58,6 @@ func Test_listenWSAndDial(t *testing.T) {
|
||||
}
|
||||
|
||||
common.Must(conn.Close())
|
||||
<-time.After(time.Second * 5)
|
||||
conn, err = Dial(ctx, net.TCPDestination(net.DomainAddress("localhost"), listenPort), streamSettings)
|
||||
common.Must(err)
|
||||
_, err = conn.Write([]byte("Test connection 2"))
|
||||
|
Reference in New Issue
Block a user