mirror of https://github.com/grpc/grpc-java.git
Relax some timeouts that have been flaky for the automated CI testing. (#10858)
* Relax some timeouts that have been flaky for the automated CI testing.
This commit is contained in:
parent
ae5fdd5faa
commit
ac428c14fd
|
|
@ -220,7 +220,7 @@ public abstract class AbstractInteropTest {
|
|||
* Constructor for tests.
|
||||
*/
|
||||
protected AbstractInteropTest() {
|
||||
TestRule timeout = Timeout.seconds(60);
|
||||
TestRule timeout = Timeout.seconds(90);
|
||||
try {
|
||||
timeout = new DisableOnDebug(timeout);
|
||||
} catch (Throwable t) {
|
||||
|
|
@ -2212,7 +2212,7 @@ public abstract class AbstractInteropTest {
|
|||
}
|
||||
|
||||
protected int operationTimeoutMillis() {
|
||||
return 5000;
|
||||
return 7000;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -244,7 +244,7 @@ public class RetryTest {
|
|||
|
||||
private void assertRpcStatusRecorded(
|
||||
Status.Code code, long roundtripLatencyMs, long outboundMessages) throws Exception {
|
||||
MetricsRecord record = clientStatsRecorder.pollRecord(5, SECONDS);
|
||||
MetricsRecord record = clientStatsRecorder.pollRecord(7, SECONDS);
|
||||
TagValue statusTag = record.tags.get(RpcMeasureConstants.GRPC_CLIENT_STATUS);
|
||||
assertThat(statusTag.asString()).isEqualTo(code.toString());
|
||||
assertThat(record.getMetricAsLongOrFail(DeprecatedCensusConstants.RPC_CLIENT_FINISHED_COUNT))
|
||||
|
|
|
|||
Loading…
Reference in New Issue