@@ -55,7 +55,7 @@ func TestConn(t *testing.T) {
5555 defer c2 .Close (websocket .StatusInternalError , "" )
5656 defer c1 .Close (websocket .StatusInternalError , "" )
5757
58- ctx , cancel := context .WithTimeout (context .Background (), time .Second * 30 )
58+ ctx , cancel := context .WithTimeout (context .Background (), time .Minute )
5959 defer cancel ()
6060
6161 echoLoopErr := xsync .Go (func () error {
@@ -163,7 +163,7 @@ func TestConn(t *testing.T) {
163163 defer c2 .Close (websocket .StatusInternalError , "" )
164164 defer c1 .Close (websocket .StatusInternalError , "" )
165165
166- ctx , cancel := context .WithTimeout (context .Background (), time .Second * 10 )
166+ ctx , cancel := context .WithTimeout (context .Background (), time .Minute )
167167 defer cancel ()
168168
169169 discardLoopErr := xsync .Go (func () error {
@@ -288,7 +288,7 @@ func TestConn(t *testing.T) {
288288 }
289289 })
290290
291- t .Run ("netConn" , func (t * testing.T ) {
291+ t .Run ("netConn/BadMsg " , func (t * testing.T ) {
292292 t .Parallel ()
293293
294294 c1 , c2 , err := wstest .Pipe (nil , nil )
@@ -333,7 +333,7 @@ func TestConn(t *testing.T) {
333333 defer c2 .Close (websocket .StatusInternalError , "" )
334334 defer c1 .Close (websocket .StatusInternalError , "" )
335335
336- ctx , cancel := context .WithTimeout (context .Background (), time .Second * 10 )
336+ ctx , cancel := context .WithTimeout (context .Background (), time .Minute )
337337 defer cancel ()
338338
339339 echoLoopErr := xsync .Go (func () error {
@@ -381,7 +381,7 @@ func TestConn(t *testing.T) {
381381 defer c2 .Close (websocket .StatusInternalError , "" )
382382 defer c1 .Close (websocket .StatusInternalError , "" )
383383
384- ctx , cancel := context .WithTimeout (context .Background (), time .Second * 10 )
384+ ctx , cancel := context .WithTimeout (context .Background (), time .Second * 30 )
385385 defer cancel ()
386386
387387 echoLoopErr := xsync .Go (func () error {
0 commit comments