testing: temporarily increased newStream_duringShutdown test timeout to 20s

Increased timeout to 20 seconds to see if flakiness of #2328 persists. Will take further action after sufficient observation
This commit is contained in:
ZHANG Dapeng 2017-03-14 14:59:46 -07:00 committed by GitHub
parent 308b6eab08
commit cdd572c2d2
1 changed files with 3 additions and 1 deletions

View File

@ -490,8 +490,10 @@ public abstract class AbstractTransportTest {
MockServerTransportListener serverTransportListener
= serverListener.takeListenerOrFail(TIMEOUT_MS, TimeUnit.MILLISECONDS);
serverTransport = serverTransportListener.transport;
// TODO(zdapeng): Increased timeout to 20 seconds to see if flakiness of #2328 persists. Take
// further action after sufficient observation.
StreamCreation serverStreamCreation
= serverTransportListener.takeStreamOrFail(TIMEOUT_MS, TimeUnit.MILLISECONDS);
= serverTransportListener.takeStreamOrFail(20 * TIMEOUT_MS, TimeUnit.MILLISECONDS);
serverStreamCreation.stream.close(Status.OK, new Metadata());
verify(mockClientStreamListener, timeout(TIMEOUT_MS))
.closed(statusCaptor.capture(), any(Metadata.class));