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 2024/01/07 10:31:23 UTC

(camel) branch main updated: (chores) camel-paho-mqtt5: fix another integration/unit test mismatch

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

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


The following commit(s) were added to refs/heads/main by this push:
     new 70488f42226 (chores) camel-paho-mqtt5: fix another integration/unit test mismatch
70488f42226 is described below

commit 70488f4222669853aa8d4ce2190329e045df6439
Author: Otavio R. Piske <an...@gmail.com>
AuthorDate: Sun Jan 7 09:40:16 2024 +0100

    (chores) camel-paho-mqtt5: fix another integration/unit test mismatch
    
    Signed-off-by: Otavio R. Piske <an...@gmail.com>
---
 ...tAfterFailureTest.java => PahoMqtt5ReconnectAfterFailureIT.java} | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/components/camel-paho-mqtt5/src/test/java/org/apache/camel/component/paho/mqtt5/PahoMqtt5ReconnectAfterFailureTest.java b/components/camel-paho-mqtt5/src/test/java/org/apache/camel/component/paho/mqtt5/PahoMqtt5ReconnectAfterFailureIT.java
similarity index 96%
rename from components/camel-paho-mqtt5/src/test/java/org/apache/camel/component/paho/mqtt5/PahoMqtt5ReconnectAfterFailureTest.java
rename to components/camel-paho-mqtt5/src/test/java/org/apache/camel/component/paho/mqtt5/PahoMqtt5ReconnectAfterFailureIT.java
index 7c606223978..285397148bf 100644
--- a/components/camel-paho-mqtt5/src/test/java/org/apache/camel/component/paho/mqtt5/PahoMqtt5ReconnectAfterFailureTest.java
+++ b/components/camel-paho-mqtt5/src/test/java/org/apache/camel/component/paho/mqtt5/PahoMqtt5ReconnectAfterFailureIT.java
@@ -41,7 +41,7 @@ import static org.junit.jupiter.api.Assertions.assertEquals;
 import static org.junit.jupiter.api.Assertions.assertNotEquals;
 import static org.junit.jupiter.api.Assertions.fail;
 
-public class PahoMqtt5ReconnectAfterFailureTest extends CamelTestSupport {
+public class PahoMqtt5ReconnectAfterFailureIT extends CamelTestSupport {
 
     public static final String TESTING_ROUTE_ID = "testingRoute";
     private static int mqttPort = AvailablePortFinder.getNextAvailable();
@@ -73,8 +73,8 @@ public class PahoMqtt5ReconnectAfterFailureTest extends CamelTestSupport {
         // to ensure first consumer connection fails
         service = MosquittoServiceFactory
                 .builder()
-                .addLocalMapping(PahoMqtt5ReconnectAfterFailureTest::createLocalService)
-                .addRemoteMapping(PahoMqtt5ReconnectAfterFailureTest::createRemoteService)
+                .addLocalMapping(PahoMqtt5ReconnectAfterFailureIT::createLocalService)
+                .addRemoteMapping(PahoMqtt5ReconnectAfterFailureIT::createRemoteService)
                 .build();
     }