Skip to content

Commit

Permalink
fix: fix MetricTracerTest to rebase on head (#581)
Browse files Browse the repository at this point in the history
  • Loading branch information
mutianf committed Dec 17, 2020
1 parent 8d71020 commit 23e97cb
Showing 1 changed file with 6 additions and 2 deletions.
Expand Up @@ -338,11 +338,15 @@ public void testInvalidRequest() throws InterruptedException {
Thread.sleep(100);
// Verify that the latency is recorded with an error code (in this case UNKNOWN)
long attemptLatency =
getAggregationValueAsLong(
StatsTestUtils.getAggregationValueAsLong(
localStats,
RpcViewConstants.BIGTABLE_ATTEMPT_LATENCY_VIEW,
ImmutableMap.of(
RpcMeasureConstants.BIGTABLE_OP, TagValue.create("Bigtable.MutateRows"),
RpcMeasureConstants.BIGTABLE_STATUS, TagValue.create("UNKNOWN")));
RpcMeasureConstants.BIGTABLE_STATUS, TagValue.create("UNKNOWN")),
PROJECT_ID,
INSTANCE_ID,
APP_PROFILE_ID);
assertThat(attemptLatency).isAtLeast(0);
}
}
Expand Down

0 comments on commit 23e97cb

Please sign in to comment.