This is an automated email from the ASF dual-hosted git repository.
jamesnetherton pushed a commit to branch 3.20.x
in repository https://gitbox.apache.org/repos/asf/camel-quarkus-examples.git
The following commit(s) were added to refs/heads/3.20.x by this push:
new f20c638 Make observability test Use real Jolokia endpoint instead of
the Quarkus management endpoint
f20c638 is described below
commit f20c638054f1e558499b7e6b5f965134ec5bf39c
Author: James Netherton <[email protected]>
AuthorDate: Tue May 20 13:37:26 2025 +0100
Make observability test Use real Jolokia endpoint instead of the Quarkus
management endpoint
---
.../src/test/java/org/acme/observability/ObservabilityTest.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git
a/observability/src/test/java/org/acme/observability/ObservabilityTest.java
b/observability/src/test/java/org/acme/observability/ObservabilityTest.java
index f8fdc4a..1cb3008 100644
--- a/observability/src/test/java/org/acme/observability/ObservabilityTest.java
+++ b/observability/src/test/java/org/acme/observability/ObservabilityTest.java
@@ -84,9 +84,10 @@ public class ObservabilityTest {
@Test
public void jolokia() {
+ RestAssured.port = 8778;
String applicationName =
ConfigProvider.getConfig().getValue("quarkus.application.name", String.class);
RestAssured.given()
- .get(getManagementPrefix() + "/q/jolokia/")
+ .get("/jolokia/")
.then()
.statusCode(200)
.body(