diff --git a/client_test.go b/client_test.go index d1912f4..f6d5161 100644 --- a/client_test.go +++ b/client_test.go @@ -2327,7 +2327,7 @@ func TestClient_DialAndSendWithContext(t *testing.T) { msg := testMessage(t) msg.SetMessageIDWithValue("this.is.a.message.id") - ctxDial, cancelDial := context.WithTimeout(ctx, time.Second*5) + ctxDial, cancelDial := context.WithTimeout(ctx, time.Minute) defer cancelDial() if goroutineErr := client.DialAndSendWithContext(ctxDial, msg); goroutineErr != nil { t.Errorf("failed to dial and send message: %s", goroutineErr)