This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch camel-4.8.x
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/camel-4.8.x by this push:
new 21440e1c4c8 Upgrade jolokia to 2.1.2 (#16366)
21440e1c4c8 is described below
commit 21440e1c4c8dc959628d15a82572711b98a1e8e5
Author: Tom Cunningham <[email protected]>
AuthorDate: Mon Nov 25 02:48:29 2024 -0500
Upgrade jolokia to 2.1.2 (#16366)
* (chores) camel-platform-http: do not test for Jolokia version
This breaks the tests whenever there is an upgrade
* Upgrade jolokia to 2.1.2
---------
Co-authored-by: Otavio Rodolfo Piske <[email protected]>
---
.../platform/http/plugin/DefaultJolokiaPlatformHttpPluginTest.java | 3 ++-
parent/pom.xml | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git
a/components/camel-platform-http-jolokia/src/test/java/org/apache/camel/component/platform/http/plugin/DefaultJolokiaPlatformHttpPluginTest.java
b/components/camel-platform-http-jolokia/src/test/java/org/apache/camel/component/platform/http/plugin/DefaultJolokiaPlatformHttpPluginTest.java
index e3a1db1c027..6976ab0973f 100644
---
a/components/camel-platform-http-jolokia/src/test/java/org/apache/camel/component/platform/http/plugin/DefaultJolokiaPlatformHttpPluginTest.java
+++
b/components/camel-platform-http-jolokia/src/test/java/org/apache/camel/component/platform/http/plugin/DefaultJolokiaPlatformHttpPluginTest.java
@@ -30,6 +30,7 @@ import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.assertEquals;
+import static org.junit.jupiter.api.Assertions.assertNotNull;
public class DefaultJolokiaPlatformHttpPluginTest extends ContextTestSupport {
@@ -54,7 +55,7 @@ public class DefaultJolokiaPlatformHttpPluginTest extends
ContextTestSupport {
String type = (String) request.get("type");
assertEquals("version", type);
- assertEquals("2.1.0", agentVersion);
+ assertNotNull(agentVersion, "There should be an agent version");
}
private PlatformHttpPluginRegistry resolvePlatformHttpPluginRegistry() {
diff --git a/parent/pom.xml b/parent/pom.xml
index f57685cf7ce..a9ee8887f4e 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -283,7 +283,7 @@
<jira-rest-client-api-version>6.0.1</jira-rest-client-api-version>
<libthrift-version>0.20.0</libthrift-version>
<jodatime2-version>2.12.7</jodatime2-version>
- <jolokia-version>2.1.0</jolokia-version>
+ <jolokia-version>2.1.2</jolokia-version>
<jolt-version>0.1.8</jolt-version>
<jool-version>0.9.15</jool-version>
<jooq-version>3.19.14</jooq-version>