diff --git a/connection_test.go b/connection_test.go index de2e1721..9780458c 100644 --- a/connection_test.go +++ b/connection_test.go @@ -398,7 +398,7 @@ func TestTimeout(t *testing.T) { testHandler := onErrorTestHandler{newTestHandler(t), onError} ts.Register(raw.Wrap(testHandler), "block") - ctx, cancel := NewContext(testutils.Timeout(15 * time.Millisecond)) + ctx, cancel := NewContext(testutils.Timeout(25 * time.Millisecond)) defer cancel() _, _, _, err := raw.Call(ctx, ts.Server(), ts.HostPort(), ts.ServiceName(), "block", []byte("Arg2"), []byte("Arg3")) @@ -662,7 +662,7 @@ func TestReadTimeout(t *testing.T) { func TestWriteTimeout(t *testing.T) { testutils.WithTestServer(t, nil, func(ts *testutils.TestServer) { ch := ts.Server() - ctx, cancel := NewContext(testutils.Timeout(15 * time.Millisecond)) + ctx, cancel := NewContext(testutils.Timeout(25 * time.Millisecond)) defer cancel() call, err := ch.BeginCall(ctx, ts.HostPort(), ch.ServiceName(), "call", nil)