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 <[email protected]>
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 <[email protected]>
---
...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();
}