Skip to content

Commit d83ea55

Browse files
committed
Fix CI
Did not get it last time
1 parent 9d9f8a9 commit d83ea55

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

websocket_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ func echoLoop(ctx context.Context, c *websocket.Conn, t *testing.T) {
323323
defer c.Close(websocket.StatusInternalError, "")
324324

325325
echo := func() error {
326-
ctx, cancel := context.WithTimeout(ctx, time.Second*15)
326+
ctx, cancel := context.WithTimeout(ctx, time.Second*30)
327327
defer cancel()
328328

329329
typ, r, err := c.Read(ctx)
@@ -431,7 +431,7 @@ func TestAutobahnClient(t *testing.T) {
431431

432432
for i := 1; i <= cases; i++ {
433433
func() {
434-
ctx, cancel := context.WithTimeout(ctx, time.Second*15)
434+
ctx, cancel := context.WithTimeout(ctx, time.Second*45)
435435
defer cancel()
436436

437437
c, _, err := websocket.Dial(ctx, fmt.Sprintf("ws://localhost:9001/runCase?case=%v&agent=main", i))

0 commit comments

Comments
 (0)