You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ji...@apache.org on 2024/01/29 09:22:24 UTC
(camel-quarkus) 04/19: fixed micrometer tests
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 a7aa24f51266a8c1501de3b5254ddb6283d78c0a
Author: JiriOndrusek <on...@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