Skip to content

Commit

Permalink
Increase two test timeouts
Browse files Browse the repository at this point in the history
  • Loading branch information
Akshay Shah committed Dec 8, 2016
1 parent de7a742 commit 5eb5a0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions connection_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 5eb5a0d

Please sign in to comment.