From 70488f4222669853aa8d4ce2190329e045df6439 Mon Sep 17 00:00:00 2001 From: "Otavio R. Piske" Date: Sun, 7 Jan 2024 09:40:16 +0100 Subject: [PATCH] (chores) camel-paho-mqtt5: fix another integration/unit test mismatch Signed-off-by: Otavio R. Piske --- ...ilureTest.java => PahoMqtt5ReconnectAfterFailureIT.java} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename components/camel-paho-mqtt5/src/test/java/org/apache/camel/component/paho/mqtt5/{PahoMqtt5ReconnectAfterFailureTest.java => PahoMqtt5ReconnectAfterFailureIT.java} (96%) 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 7c60622397814..285397148bf19 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.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 void doPreSetup() throws Exception { // to ensure first consumer connection fails service = MosquittoServiceFactory .builder() - .addLocalMapping(PahoMqtt5ReconnectAfterFailureTest::createLocalService) - .addRemoteMapping(PahoMqtt5ReconnectAfterFailureTest::createRemoteService) + .addLocalMapping(PahoMqtt5ReconnectAfterFailureIT::createLocalService) + .addRemoteMapping(PahoMqtt5ReconnectAfterFailureIT::createRemoteService) .build(); }