@@ -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 * 10 )
58
+ ctx , cancel := context .WithTimeout (context .Background (), time .Second * 30 )
59
59
defer cancel ()
60
60
61
61
echoLoopErr := xsync .Go (func () error {
@@ -142,7 +142,7 @@ func TestConn(t *testing.T) {
142
142
defer c1 .Close (websocket .StatusInternalError , "" )
143
143
defer c2 .Close (websocket .StatusInternalError , "" )
144
144
145
- ctx , cancel := context .WithTimeout (context .Background (), time .Second * 5 )
145
+ ctx , cancel := context .WithTimeout (context .Background (), time .Second * 10 )
146
146
defer cancel ()
147
147
148
148
c2 .CloseRead (ctx )
@@ -242,7 +242,7 @@ func TestConn(t *testing.T) {
242
242
defer c2 .Close (websocket .StatusInternalError , "" )
243
243
defer c1 .Close (websocket .StatusInternalError , "" )
244
244
245
- ctx , cancel := context .WithTimeout (context .Background (), time .Second * 5 )
245
+ ctx , cancel := context .WithTimeout (context .Background (), time .Second * 10 )
246
246
defer cancel ()
247
247
248
248
n1 := websocket .NetConn (ctx , c1 , websocket .MessageBinary )
@@ -298,7 +298,7 @@ func TestConn(t *testing.T) {
298
298
defer c2 .Close (websocket .StatusInternalError , "" )
299
299
defer c1 .Close (websocket .StatusInternalError , "" )
300
300
301
- ctx , cancel := context .WithTimeout (context .Background (), time .Second * 5 )
301
+ ctx , cancel := context .WithTimeout (context .Background (), time .Second * 10 )
302
302
defer cancel ()
303
303
304
304
n1 := websocket .NetConn (ctx , c1 , websocket .MessageBinary )
@@ -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 * 5 )
336
+ ctx , cancel := context .WithTimeout (context .Background (), time .Second * 10 )
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 * 5 )
384
+ ctx , cancel := context .WithTimeout (context .Background (), time .Second * 10 )
385
385
defer cancel ()
386
386
387
387
echoLoopErr := xsync .Go (func () error {
0 commit comments