You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by or...@apache.org on 2021/02/15 12:11:30 UTC

[camel-kafka-connector] 02/02: Remove exception message check from JMS startup test as the error message is too volatile

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

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

commit 1dded10c7e237c78de41b57c3c338ed9237527aa
Author: Otavio Rodolfo Piske <op...@redhat.com>
AuthorDate: Mon Feb 15 12:21:46 2021 +0100

    Remove exception message check from JMS startup test as the error message is too volatile
---
 .../camel/kafkaconnector/sjms2/sink/CamelSinkJMSStartupITCase.java     | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/tests/itests-sjms2/src/test/java/org/apache/camel/kafkaconnector/sjms2/sink/CamelSinkJMSStartupITCase.java b/tests/itests-sjms2/src/test/java/org/apache/camel/kafkaconnector/sjms2/sink/CamelSinkJMSStartupITCase.java
index 735db4b..a72394b 100644
--- a/tests/itests-sjms2/src/test/java/org/apache/camel/kafkaconnector/sjms2/sink/CamelSinkJMSStartupITCase.java
+++ b/tests/itests-sjms2/src/test/java/org/apache/camel/kafkaconnector/sjms2/sink/CamelSinkJMSStartupITCase.java
@@ -34,7 +34,6 @@ import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
 import static org.junit.jupiter.api.Assertions.assertFalse;
-import static org.junit.jupiter.api.Assertions.assertTrue;
 import static org.junit.jupiter.api.Assertions.fail;
 
 /**
@@ -100,8 +99,6 @@ public class CamelSinkJMSStartupITCase extends AbstractKafkaTest {
         assertFalse(running, "The connector should be in a failed state");
 
         LOG.trace(trace);
-        assertTrue(trace.contains("Name or service not known"),
-                "Trace should contain a Camel error message");
     }