You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2021/05/14 19:30:25 UTC
[camel] 04/04: CAMEL-16613: camel-jetty and camel-netty-http - Do
not run tests in parallel as CI server keeps randomly failing
This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
commit 057e5390d998859ba3c6216db0e01c3d50745838
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Fri May 14 21:29:28 2021 +0200
CAMEL-16613: camel-jetty and camel-netty-http - Do not run tests in parallel as CI server keeps randomly failing
---
components/camel-netty-http/pom.xml | 22 ----------------------
.../component/netty/http/NettyHttpStreamTest.java | 2 --
.../netty/http/NettyHttpSuspendResume503Test.java | 2 --
3 files changed, 26 deletions(-)
diff --git a/components/camel-netty-http/pom.xml b/components/camel-netty-http/pom.xml
index 76529cc..4ecd6c6 100644
--- a/components/camel-netty-http/pom.xml
+++ b/components/camel-netty-http/pom.xml
@@ -31,10 +31,6 @@
<name>Camel :: Netty HTTP</name>
<description>Camel Netty HTTP support</description>
- <properties>
- <io.netty.leakDetection.level>DISABLED</io.netty.leakDetection.level>
- </properties>
-
<dependencies>
<dependency>
<groupId>org.apache.camel</groupId>
@@ -158,25 +154,7 @@
</execution>
</executions>
</plugin>
- <plugin>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <systemPropertyVariables>
- <io.netty.leakDetection.level>${io.netty.leakDetection.level}</io.netty.leakDetection.level>
- </systemPropertyVariables>
- </configuration>
- </plugin>
</plugins>
</build>
- <profiles>
- <profile>
- <id>leaks</id>
- <properties>
- <camel.surefire.parallel>false</camel.surefire.parallel>
- <io.netty.leakDetection.level>PARANOID</io.netty.leakDetection.level>
- </properties>
- </profile>
- </profiles>
-
</project>
diff --git a/components/camel-netty-http/src/test/java/org/apache/camel/component/netty/http/NettyHttpStreamTest.java b/components/camel-netty-http/src/test/java/org/apache/camel/component/netty/http/NettyHttpStreamTest.java
index a5ce9c7..0861138 100644
--- a/components/camel-netty-http/src/test/java/org/apache/camel/component/netty/http/NettyHttpStreamTest.java
+++ b/components/camel-netty-http/src/test/java/org/apache/camel/component/netty/http/NettyHttpStreamTest.java
@@ -25,13 +25,11 @@ import org.apache.camel.Exchange;
import org.apache.camel.builder.RouteBuilder;
import org.apache.camel.component.mock.MockEndpoint;
import org.apache.camel.support.DefaultExchange;
-import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse;
-@Disabled("TODO: leak error")
public class NettyHttpStreamTest extends BaseNettyTest {
public static final long SIZE = 10 * 256;
diff --git a/components/camel-netty-http/src/test/java/org/apache/camel/component/netty/http/NettyHttpSuspendResume503Test.java b/components/camel-netty-http/src/test/java/org/apache/camel/component/netty/http/NettyHttpSuspendResume503Test.java
index 259949a..c08ef06 100644
--- a/components/camel-netty-http/src/test/java/org/apache/camel/component/netty/http/NettyHttpSuspendResume503Test.java
+++ b/components/camel-netty-http/src/test/java/org/apache/camel/component/netty/http/NettyHttpSuspendResume503Test.java
@@ -17,7 +17,6 @@
package org.apache.camel.component.netty.http;
import org.apache.camel.builder.RouteBuilder;
-import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import static org.apache.camel.test.junit5.TestSupport.assertIsInstanceOf;
@@ -27,7 +26,6 @@ import static org.junit.jupiter.api.Assertions.assertNotNull;
import static org.junit.jupiter.api.Assertions.fail;
import static org.junit.jupiter.api.Assumptions.assumeFalse;
-@Disabled("TODO: leak error")
public class NettyHttpSuspendResume503Test extends BaseNettyTest {
private String serverUri = "netty-http:http://localhost:" + getPort() + "/cool?disconnect=true";