Skip to content

Commit

Permalink
Relax some timeouts that have been flaky for the automated CI testing.
Browse files Browse the repository at this point in the history
  • Loading branch information
larry-safran committed Jan 29, 2024
1 parent 7f4c16e commit 470955e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ public Context filterContext(Context context) {
* Constructor for tests.
*/
protected AbstractInteropTest() {
TestRule timeout = Timeout.seconds(60);
TestRule timeout = Timeout.seconds(90);
try {
timeout = new DisableOnDebug(timeout);
} catch (Throwable t) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ private void assertInboundWireSizeRecorded(long length) throws Exception {

private void assertRpcStatusRecorded(
Status.Code code, long roundtripLatencyMs, long outboundMessages) throws Exception {
MetricsRecord record = clientStatsRecorder.pollRecord(5, SECONDS);
MetricsRecord record = clientStatsRecorder.pollRecord(10, SECONDS);
TagValue statusTag = record.tags.get(RpcMeasureConstants.GRPC_CLIENT_STATUS);
assertThat(statusTag.asString()).isEqualTo(code.toString());
assertThat(record.getMetricAsLongOrFail(DeprecatedCensusConstants.RPC_CLIENT_FINISHED_COUNT))
Expand Down

0 comments on commit 470955e

Please sign in to comment.