Skip to content

Commit

Permalink
Fixing test regression
Browse files Browse the repository at this point in the history
  • Loading branch information
FabianMeiswinkel committed Jan 27, 2024
1 parent 6e77237 commit 4185308
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1193,9 +1193,9 @@ public void meterNameFromStringConversion() {
assertThat(CosmosMetricName.fromString("cosmos.client.op.REGIONScontacted"))
.isSameAs(CosmosMetricName.OPERATION_DETAILS_REGIONS_CONTACTED);

assertThat(CosmosMetricName.fromString("cosmos.client.req.reqPayloDSIZE"))
assertThat(CosmosMetricName.fromString("cosmos.client.req.reqPaylOADSize"))
.isSameAs(CosmosMetricName.REQUEST_SUMMARY_SIZE_REQUEST);
assertThat(CosmosMetricName.fromString("cosmos.client.REQ.RspPayloDSIZE"))
assertThat(CosmosMetricName.fromString("cosmos.client.req.rspPayloadSIZE"))
.isSameAs(CosmosMetricName.REQUEST_SUMMARY_SIZE_RESPONSE);

assertThat(CosmosMetricName.fromString("cosmos.CLIENT.req.rntbd.backendLatency"))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -374,8 +374,8 @@ private static Map<String, CosmosMetricName> createMeterNameMap() {
map.put(nameOf("req.gw.requests"), CosmosMetricName.REQUEST_SUMMARY_GATEWAY_REQUESTS);
map.put(nameOf("req.gw.latency"), CosmosMetricName.REQUEST_SUMMARY_GATEWAY_LATENCY);
map.put(nameOf("req.gw.rus"), CosmosMetricName.REQUEST_SUMMARY_GATEWAY_REQUEST_CHARGE);
map.put(nameOf("req.reqPayloadSize"), CosmosMetricName.REQUEST_SUMMARY_SIZE_REQUEST);
map.put(nameOf("req.rspPayloadSize"), CosmosMetricName.REQUEST_SUMMARY_SIZE_RESPONSE);
map.put(nameOf("req.reqpayloadsize"), CosmosMetricName.REQUEST_SUMMARY_SIZE_REQUEST);
map.put(nameOf("req.rsppayloadsize"), CosmosMetricName.REQUEST_SUMMARY_SIZE_RESPONSE);
map.put(nameOf("req.rntbd.timeline"), CosmosMetricName.REQUEST_DETAILS_DIRECT_TIMELINE);
map.put(nameOf("req.gw.timeline"), CosmosMetricName.REQUEST_DETAILS_GATEWAY_TIMELINE);
map.put(nameOf("rntbd.channels.acquired.count"), CosmosMetricName.DIRECT_CHANNELS_ACQUIRED_COUNT);
Expand Down

0 comments on commit 4185308

Please sign in to comment.