From aca5f12fe38e04543df7d992d97db7d0e66a635c Mon Sep 17 00:00:00 2001 From: Shashank Patidar <74622220+shashank11p@users.noreply.github.com> Date: Thu, 28 Nov 2024 21:10:23 +0530 Subject: [PATCH] fix test (#409) --- .../org/hypertrace/agent/smoketest/SpringBootSmokeTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smoke-tests/src/test/java/org/hypertrace/agent/smoketest/SpringBootSmokeTest.java b/smoke-tests/src/test/java/org/hypertrace/agent/smoketest/SpringBootSmokeTest.java index dc76f878..e8623aa8 100644 --- a/smoke-tests/src/test/java/org/hypertrace/agent/smoketest/SpringBootSmokeTest.java +++ b/smoke-tests/src/test/java/org/hypertrace/agent/smoketest/SpringBootSmokeTest.java @@ -176,7 +176,7 @@ public void postJson() throws IOException, InterruptedException { Assertions.assertTrue(hasMetricNamed("http.server.duration", metrics)); Assertions.assertTrue(hasMetricWithAttribute("http.server.duration", "http.method", metrics)); - Assertions.assertTrue(hasMetricWithAttribute("http.server.duration", "http.route", metrics)); + Assertions.assertFalse(hasMetricWithAttribute("http.server.duration", "http.route", metrics)); Assertions.assertFalse( hasMetricWithAttribute("http.server.duration", "net.sock.peer.addr", metrics)); Assertions.assertFalse(