Fix flaky test

This commit is contained in:
nmittler 2015-07-28 11:49:34 -07:00
parent dde1e809a7
commit a36f4af138
1 changed files with 1 additions and 1 deletions

View File

@ -599,7 +599,7 @@ public abstract class AbstractTransportTest {
// warm up the channel and JVM // warm up the channel and JVM
blockingStub.emptyCall(Empty.getDefaultInstance()); blockingStub.emptyCall(Empty.getDefaultInstance());
TestServiceGrpc.newBlockingStub(channel) TestServiceGrpc.newBlockingStub(channel)
.withDeadlineAfter(50, TimeUnit.MILLISECONDS) .withDeadlineAfter(10, TimeUnit.SECONDS)
.streamingOutputCall(StreamingOutputCallRequest.newBuilder() .streamingOutputCall(StreamingOutputCallRequest.newBuilder()
.addResponseParameters(ResponseParameters.newBuilder() .addResponseParameters(ResponseParameters.newBuilder()
.setIntervalUs(0)) .setIntervalUs(0))