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(