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

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

commit e47468c89fa0bfe6954f478603f75bf68421e9a0
Author: James Netherton <[email protected]>
AuthorDate: Wed Sep 24 12:12:25 2025 +0100

    Disable NATS TLS testing due to #7771
---
 .../apache/camel/quarkus/component/nats/it/NatsTest.java    | 10 ++++------
 .../camel/quarkus/component/nats/it/NatsTestResource.java   | 13 +++++++------
 2 files changed, 11 insertions(+), 12 deletions(-)

diff --git 
a/integration-tests/nats/src/test/java/org/apache/camel/quarkus/component/nats/it/NatsTest.java
 
b/integration-tests/nats/src/test/java/org/apache/camel/quarkus/component/nats/it/NatsTest.java
index 34e79b159f..0d969c8882 100644
--- 
a/integration-tests/nats/src/test/java/org/apache/camel/quarkus/component/nats/it/NatsTest.java
+++ 
b/integration-tests/nats/src/test/java/org/apache/camel/quarkus/component/nats/it/NatsTest.java
@@ -21,9 +21,6 @@ import java.util.concurrent.TimeUnit;
 import io.quarkus.test.common.QuarkusTestResource;
 import io.quarkus.test.junit.QuarkusTest;
 import io.restassured.http.Header;
-import io.smallrye.certs.Format;
-import io.smallrye.certs.junit5.Certificate;
-import org.apache.camel.quarkus.test.support.certificate.TestCertificates;
 import org.junit.jupiter.api.Test;
 import org.junit.jupiter.api.condition.EnabledIfEnvironmentVariable;
 
@@ -31,9 +28,10 @@ import static io.restassured.RestAssured.given;
 import static org.awaitility.Awaitility.await;
 import static org.junit.jupiter.api.Assertions.assertEquals;
 
-@TestCertificates(certificates = {
-        @Certificate(name = "nats", formats = {
-                Format.PKCS12, Format.PEM }, password = "password") })
+// TODO: Restore TLS tests - 
https://github.com/apache/camel-quarkus/issues/7771
+//@TestCertificates(certificates = {
+//        @Certificate(name = "nats", formats = {
+//                Format.PKCS12, Format.PEM }, password = "password") })
 @QuarkusTestResource(NatsTestResource.class)
 @QuarkusTest
 class NatsTest {
diff --git 
a/integration-tests/nats/src/test/java/org/apache/camel/quarkus/component/nats/it/NatsTestResource.java
 
b/integration-tests/nats/src/test/java/org/apache/camel/quarkus/component/nats/it/NatsTestResource.java
index 71f0cd54c4..18f14e5d64 100644
--- 
a/integration-tests/nats/src/test/java/org/apache/camel/quarkus/component/nats/it/NatsTestResource.java
+++ 
b/integration-tests/nats/src/test/java/org/apache/camel/quarkus/component/nats/it/NatsTestResource.java
@@ -55,12 +55,13 @@ public class NatsTestResource implements 
QuarkusTestResourceLifecycleManager {
         noAuthContainer = noAuthContainer(properties);
         tokenAuthContainer = tokenAuthContainer(properties);
 
-        if ("true".equals(System.getenv("ENABLE_TLS_TESTS"))) {
-            LOG.info("TLS tests enabled so starting the TLS auth container");
-            tlsAuthContainer = tlsAuthContainer(properties);
-        } else {
-            LOG.info("TLS tests NOT enabled, so NOT starting the TLS auth 
container");
-        }
+        // TODO: Restore TLS tests - 
https://github.com/apache/camel-quarkus/issues/7771
+        //        if ("true".equals(System.getenv("ENABLE_TLS_TESTS"))) {
+        //            LOG.info("TLS tests enabled so starting the TLS auth 
container");
+        //            tlsAuthContainer = tlsAuthContainer(properties);
+        //        } else {
+        //            LOG.info("TLS tests NOT enabled, so NOT starting the TLS 
auth container");
+        //        }
 
         LOG.info("Properties: {}", properties);
 

Reply via email to