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.git
The following commit(s) were added to refs/heads/main by this push: new 6d55a66d5b [relates #6083] Enable test for JMX in Camel Debug 6d55a66d5b is described below commit 6d55a66d5b549c047e3576c304bb6d332ac5bbf8 Author: Lukas Lowinger <llowi...@redhat.com> AuthorDate: Mon Aug 11 10:19:32 2025 +0200 [relates #6083] Enable test for JMX in Camel Debug --- .../debug/deployment/DebugEnabledFromCamelMainTest.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/extensions/debug/deployment/src/test/java/org/apache/camel/quarkus/component/debug/deployment/DebugEnabledFromCamelMainTest.java b/extensions/debug/deployment/src/test/java/org/apache/camel/quarkus/component/debug/deployment/DebugEnabledFromCamelMainTest.java index a1fe6a039e..79ae8d2c29 100644 --- a/extensions/debug/deployment/src/test/java/org/apache/camel/quarkus/component/debug/deployment/DebugEnabledFromCamelMainTest.java +++ b/extensions/debug/deployment/src/test/java/org/apache/camel/quarkus/component/debug/deployment/DebugEnabledFromCamelMainTest.java @@ -19,6 +19,7 @@ package org.apache.camel.quarkus.component.debug.deployment; import java.io.IOException; import java.io.StringWriter; import java.io.Writer; +import java.net.Socket; import java.util.Properties; import io.quarkus.test.QuarkusUnitTest; @@ -27,6 +28,7 @@ import org.jboss.shrinkwrap.api.ShrinkWrap; import org.jboss.shrinkwrap.api.asset.Asset; import org.jboss.shrinkwrap.api.asset.StringAsset; import org.jboss.shrinkwrap.api.spec.JavaArchive; +import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.RegisterExtension; @@ -47,11 +49,9 @@ public class DebugEnabledFromCamelMainTest { .body(is("true")) .statusCode(200); - // TODO: This needs Camel 4.7 where camel-main has the capability to configure the JMX Connector - // https://github.com/apache/camel-quarkus/issues/6083 - //try (Socket socket = new Socket("localhost", 1099)) { - // Assertions.assertTrue(socket.isConnected()); - //} + try (Socket socket = new Socket("localhost", 1099)) { + Assertions.assertTrue(socket.isConnected()); + } } public static final Asset applicationProperties() {