This is an automated email from the ASF dual-hosted git repository.

jamesnetherton pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus-examples.git

commit e3ce3e5e0f34500884634c68a218faa4829955d5
Author: James Netherton <jamesnether...@gmail.com>
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(

Reply via email to