This is an automated email from the ASF dual-hosted git repository. jiriondrusek pushed a commit to branch camel-main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
commit d43f1f47618bbfb24a2f19156a945804b93ea30e Author: JiriOndrusek <ondrusek.j...@gmail.com> AuthorDate: Wed Jan 3 15:50:34 2024 +0100 fixed micrometer tests --- .../apache/camel/quarkus/component/micrometer/it/MicrometerTest.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/integration-tests/micrometer/src/test/java/org/apache/camel/quarkus/component/micrometer/it/MicrometerTest.java b/integration-tests/micrometer/src/test/java/org/apache/camel/quarkus/component/micrometer/it/MicrometerTest.java index ac9b1f66e4..af1b4f42a9 100644 --- a/integration-tests/micrometer/src/test/java/org/apache/camel/quarkus/component/micrometer/it/MicrometerTest.java +++ b/integration-tests/micrometer/src/test/java/org/apache/camel/quarkus/component/micrometer/it/MicrometerTest.java @@ -184,11 +184,13 @@ class MicrometerTest extends AbstractMicrometerTest { Map<String, Float> result = jsonPath.getMap( "gauges.findAll { it.id.name =~ /routes/ && it.id.tags.find { it.customTag } }.collectEntries { [it.id.name, it.value] }"); - assertEquals(result.size(), 2); + assertEquals(result.size(), 3); assertTrue(result.containsKey("camel.routes.running")); assertEquals(8.0f, result.get("camel.routes.running")); assertTrue(result.containsKey("camel.routes.added")); assertEquals(8.0f, result.get("camel.routes.added")); + assertTrue(result.containsKey("camel.routes.reloaded")); + assertEquals(0.0f, result.get("camel.routes.reloaded")); } @ParameterizedTest