File tree 1 file changed +6
-2
lines changed
google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/stub/metrics
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -338,11 +338,15 @@ public void testInvalidRequest() throws InterruptedException {
338
338
Thread .sleep (100 );
339
339
// Verify that the latency is recorded with an error code (in this case UNKNOWN)
340
340
long attemptLatency =
341
- getAggregationValueAsLong (
341
+ StatsTestUtils .getAggregationValueAsLong (
342
+ localStats ,
342
343
RpcViewConstants .BIGTABLE_ATTEMPT_LATENCY_VIEW ,
343
344
ImmutableMap .of (
344
345
RpcMeasureConstants .BIGTABLE_OP , TagValue .create ("Bigtable.MutateRows" ),
345
- RpcMeasureConstants .BIGTABLE_STATUS , TagValue .create ("UNKNOWN" )));
346
+ RpcMeasureConstants .BIGTABLE_STATUS , TagValue .create ("UNKNOWN" )),
347
+ PROJECT_ID ,
348
+ INSTANCE_ID ,
349
+ APP_PROFILE_ID );
346
350
assertThat (attemptLatency ).isAtLeast (0 );
347
351
}
348
352
}
You can’t perform that action at this time.
0 commit comments