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 6bb61e2 commit 016fbcf
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,12 @@ public void typicalWithGraphite() throws Exception {
"graphitePrefix.counter.com.hotels.bdp.waggledance.server.FederatedHMSHandler.get_table_req.remote.calls;metricattribute=count 1");
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");
assertMetric(metrics,
"counter.Type_Anonymous.calls{federation_namespace='all',method_name=''}=count 1");
assertMetric(metrics,
"timer.Type_Anonymous.duration{federation_namespace='all',method_name=''}=count 1");
}

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

0 comments on commit 016fbcf

Please sign in to comment.