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

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

commit 150aba81daea5dfe6dd8920cfa09f80330d94863
Author: aldettinger <aldettin...@gmail.com>
AuthorDate: Wed Feb 10 10:32:05 2021 +0100

    nats: added a README.adoc file in the test module to explain the TLS test 
manual activation #2061
---
 integration-tests/nats/README.adoc                               | 9 +++++++++
 .../org/apache/camel/quarkus/component/nats/it/NatsTest.java     | 4 ----
 2 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/integration-tests/nats/README.adoc 
b/integration-tests/nats/README.adoc
new file mode 100644
index 0000000..daa2780
--- /dev/null
+++ b/integration-tests/nats/README.adoc
@@ -0,0 +1,9 @@
+== Nats integration tests
+
+By default the TLS integration test is disabled as it flakes on 
quarkus-platform continuous integration, busy operating systems and maybe more.
+
+This test could be manually enabled by setting the environment variable as 
below:
+[source,shell]
+----
+export ENABLE_TLS_TESTS=true
+----
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 802e270..e694661 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
@@ -60,10 +60,6 @@ class NatsTest {
         assertEquals("no-auth-msg", messages[0]);
     }
 
-    /*
-     * The tests with TLS authentication fail in some environments 
(quarkus-platform, loaded systems and maybe more).
-     * They can be enabled locally with "export ENABLE_TLS_TESTS=true".
-     */
     @Test
     @EnabledIfEnvironmentVariable(named = "ENABLE_TLS_TESTS", matches = "true")
     void tlsAuthProduceConsumeRoundTripShouldSucceed() {

Reply via email to