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:23 UTC
[camel] 08/10: (chores) camel-jetty: 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 32f4548696e1717a48cadc34d2d0e7c1db468bfd
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Tue May 31 15:12:41 2022 +0200
(chores) camel-jetty: rename manual test
This prevent it from being flagged with missing assertions in code analysis
---
...XBeansIssueTest.java => HttpProducerJMXBeansIssueManualIT.java} | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/HttpProducerJMXBeansIssueTest.java b/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/HttpProducerJMXBeansIssueManualIT.java
similarity index 92%
rename from components/camel-jetty/src/test/java/org/apache/camel/component/jetty/HttpProducerJMXBeansIssueTest.java
rename to components/camel-jetty/src/test/java/org/apache/camel/component/jetty/HttpProducerJMXBeansIssueManualIT.java
index cda48a6790d..d726176156a 100644
--- a/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/HttpProducerJMXBeansIssueTest.java
+++ b/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/HttpProducerJMXBeansIssueManualIT.java
@@ -27,9 +27,10 @@ import org.junit.jupiter.api.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
-public class HttpProducerJMXBeansIssueTest extends BaseJettyTest {
+@Disabled("This is a manual test")
+public final class HttpProducerJMXBeansIssueManualIT extends BaseJettyTest {
- private static final Logger LOG = LoggerFactory.getLogger(HttpProducerJMXBeansIssueTest.class);
+ private static final Logger LOG = LoggerFactory.getLogger(HttpProducerJMXBeansIssueManualIT.class);
@Override
@BeforeEach
@@ -57,13 +58,11 @@ public class HttpProducerJMXBeansIssueTest extends BaseJettyTest {
}
@Test
- @Disabled("disabled as this is a manual test")
public void testNothing() {
// do nothing as this test is manual
}
@Test
- @Disabled("disabled as this is a manual test")
public void testSendAlot() throws Exception {
Endpoint ep = context.getEndpoint("direct:leak");
Producer p = ep.createProducer();