diff --git a/websocket_test.go b/websocket_test.go
index a789cf96686ade1fb776cfa34994a5b86f6a944c..14dcc8c51fc1a9eb74f9448d7a33ae546611ff80 100644
--- a/websocket_test.go
+++ b/websocket_test.go
@@ -323,7 +323,7 @@ func echoLoop(ctx context.Context, c *websocket.Conn, t *testing.T) {
 	defer c.Close(websocket.StatusInternalError, "")
 
 	echo := func() error {
-		ctx, cancel := context.WithTimeout(ctx, time.Second*15)
+		ctx, cancel := context.WithTimeout(ctx, time.Second*30)
 		defer cancel()
 
 		typ, r, err := c.Read(ctx)
@@ -431,7 +431,7 @@ func TestAutobahnClient(t *testing.T) {
 
 	for i := 1; i <= cases; i++ {
 		func() {
-			ctx, cancel := context.WithTimeout(ctx, time.Second*15)
+			ctx, cancel := context.WithTimeout(ctx, time.Second*45)
 			defer cancel()
 
 			c, _, err := websocket.Dial(ctx, fmt.Sprintf("ws://localhost:9001/runCase?case=%v&agent=main", i))