From 822a2be85e79d5efc5f152437982818c6928faa7 Mon Sep 17 00:00:00 2001 From: Dhrubajyoti Sadhu Date: Thu, 17 Aug 2023 16:38:43 +0100 Subject: [PATCH] updated the integration tests --- .../hotels/bdp/waggledance/WaggleDanceIntegrationTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/waggle-dance-integration-tests/src/test/java/com/hotels/bdp/waggledance/WaggleDanceIntegrationTest.java b/waggle-dance-integration-tests/src/test/java/com/hotels/bdp/waggledance/WaggleDanceIntegrationTest.java index b5b090e0a..071ab0329 100644 --- a/waggle-dance-integration-tests/src/test/java/com/hotels/bdp/waggledance/WaggleDanceIntegrationTest.java +++ b/waggle-dance-integration-tests/src/test/java/com/hotels/bdp/waggledance/WaggleDanceIntegrationTest.java @@ -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 metrics, String partialMetric) {