Skip to content

Commit

Permalink
updated the integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Dhrubajyoti Sadhu committed Aug 17, 2023
1 parent 016fbcf commit 822a2be
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -402,11 +402,11 @@ public void typicalWithGraphite() throws Exception {
assertMetric(metrics,
"graphitePrefix.counter.com.hotels.bdp.waggledance.server.FederatedHMSHandler.get_table_req.remote.success;metricattribute=count 1");
assertMetric(metrics,
"counter.Type_Anonymous.success{federation_namespace='all',method_name=''}=count 1");
"counter.Type_Anonymous.success{federation_namespace='all',method_name='myMethod'}=count 1");
assertMetric(metrics,
"counter.Type_Anonymous.calls{federation_namespace='all',method_name=''}=count 1");
"counter.Type_Anonymous.calls{federation_namespace='all',method_name='myMethod'}=count 1");
assertMetric(metrics,
"timer.Type_Anonymous.duration{federation_namespace='all',method_name=''}=count 1");
"timer.Type_Anonymous.duration{federation_namespace='all',method_name='myMethod'}=count 1");
}

private void assertMetric(Set<String> metrics, String partialMetric) {
Expand Down

0 comments on commit 822a2be

Please sign in to comment.