Skip to content

Commit

Permalink
Merge pull request #8 from FabianMeiswinkel/users/fabianm/testregress…
Browse files Browse the repository at this point in the history
…ionfix

Fixing test regression
  • Loading branch information
FabianMeiswinkel authored Jan 27, 2024
2 parents 6e77237 + 4185308 commit 17b2bed
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 17b2bed

Please sign in to comment.