@@ -55,7 +55,7 @@ func TestConn(t *testing.T) {
55
55
defer c2 .Close (websocket .StatusInternalError , "" )
56
56
defer c1 .Close (websocket .StatusInternalError , "" )
57
57
58
- ctx , cancel := context .WithTimeout (context .Background (), time .Second * 30 )
58
+ ctx , cancel := context .WithTimeout (context .Background (), time .Minute )
59
59
defer cancel ()
60
60
61
61
echoLoopErr := xsync .Go (func () error {
@@ -163,7 +163,7 @@ func TestConn(t *testing.T) {
163
163
defer c2 .Close (websocket .StatusInternalError , "" )
164
164
defer c1 .Close (websocket .StatusInternalError , "" )
165
165
166
- ctx , cancel := context .WithTimeout (context .Background (), time .Second * 10 )
166
+ ctx , cancel := context .WithTimeout (context .Background (), time .Minute )
167
167
defer cancel ()
168
168
169
169
discardLoopErr := xsync .Go (func () error {
@@ -288,7 +288,7 @@ func TestConn(t *testing.T) {
288
288
}
289
289
})
290
290
291
- t .Run ("netConn" , func (t * testing.T ) {
291
+ t .Run ("netConn/BadMsg " , func (t * testing.T ) {
292
292
t .Parallel ()
293
293
294
294
c1 , c2 , err := wstest .Pipe (nil , nil )
@@ -333,7 +333,7 @@ func TestConn(t *testing.T) {
333
333
defer c2 .Close (websocket .StatusInternalError , "" )
334
334
defer c1 .Close (websocket .StatusInternalError , "" )
335
335
336
- ctx , cancel := context .WithTimeout (context .Background (), time .Second * 10 )
336
+ ctx , cancel := context .WithTimeout (context .Background (), time .Minute )
337
337
defer cancel ()
338
338
339
339
echoLoopErr := xsync .Go (func () error {
@@ -381,7 +381,7 @@ func TestConn(t *testing.T) {
381
381
defer c2 .Close (websocket .StatusInternalError , "" )
382
382
defer c1 .Close (websocket .StatusInternalError , "" )
383
383
384
- ctx , cancel := context .WithTimeout (context .Background (), time .Second * 10 )
384
+ ctx , cancel := context .WithTimeout (context .Background (), time .Second * 30 )
385
385
defer cancel ()
386
386
387
387
echoLoopErr := xsync .Go (func () error {
0 commit comments