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 2022/05/31 15:23:25 UTC
[camel] 10/10: (chores) camel-mina: rename manual test
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
commit 4111c3196a9ed0ccee51aaa210cca11d5c1da3cc
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Tue May 31 15:13:10 2022 +0200
(chores) camel-mina: rename manual test
This prevent it from being flagged with missing assertions in code analysis
---
components/camel-mina/pom.xml | 2 +-
...aProducerShutdownTest.java => MinaProducerShutdownManualIT.java} | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/components/camel-mina/pom.xml b/components/camel-mina/pom.xml
index 8f05d843afc..fa6de55b235 100644
--- a/components/camel-mina/pom.xml
+++ b/components/camel-mina/pom.xml
@@ -94,7 +94,7 @@
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<configuration>
- <mainClass>org.apache.camel.component.mina.MinaProducerShutdownTest</mainClass>
+ <mainClass>org.apache.camel.component.mina.MinaProducerShutdownManualIT</mainClass>
<includePluginDependencies>false</includePluginDependencies>
</configuration>
</plugin>
diff --git a/components/camel-mina/src/test/java/org/apache/camel/component/mina/MinaProducerShutdownTest.java b/components/camel-mina/src/test/java/org/apache/camel/component/mina/MinaProducerShutdownManualIT.java
similarity index 95%
rename from components/camel-mina/src/test/java/org/apache/camel/component/mina/MinaProducerShutdownTest.java
rename to components/camel-mina/src/test/java/org/apache/camel/component/mina/MinaProducerShutdownManualIT.java
index 4ace184ce97..ce11339a45e 100644
--- a/components/camel-mina/src/test/java/org/apache/camel/component/mina/MinaProducerShutdownTest.java
+++ b/components/camel-mina/src/test/java/org/apache/camel/component/mina/MinaProducerShutdownManualIT.java
@@ -33,15 +33,15 @@ import org.slf4j.LoggerFactory;
* Run this test from maven: mvn exec:java and see the output if there is a error.
*/
@Disabled
-public class MinaProducerShutdownTest {
+public class MinaProducerShutdownManualIT {
- private static final Logger LOG = LoggerFactory.getLogger(MinaProducerShutdownTest.class);
+ private static final Logger LOG = LoggerFactory.getLogger(MinaProducerShutdownManualIT.class);
private static final String URI = "mina:tcp://localhost:6321?textline=true&sync=false";
private long start;
private CamelContext context;
public static void main(String[] args) throws Exception {
- MinaProducerShutdownTest me = new MinaProducerShutdownTest();
+ MinaProducerShutdownManualIT me = new MinaProducerShutdownManualIT();
me.testProducer();
}