This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git
commit 0dd6c6c617fe8a1a1d2476b7dfe2fcdb3fd0addf Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Tue Oct 1 05:44:49 2019 +0200 CAMEL-14107: Add netty leak detection into the maven-surefire-plugin --- components/camel-netty-http/pom.xml | 4 ++++ components/camel-netty/pom.xml | 18 ++++++++++++++++++ 2 files changed, 22 insertions(+) diff --git a/components/camel-netty-http/pom.xml b/components/camel-netty-http/pom.xml index 6bbb919..5045716 100644 --- a/components/camel-netty-http/pom.xml +++ b/components/camel-netty-http/pom.xml @@ -140,6 +140,10 @@ <forkCount>1</forkCount> <reuseForks>false</reuseForks> <forkedProcessTimeoutInSeconds>5000</forkedProcessTimeoutInSeconds> + <systemPropertyVariables> + <!-- can use PARANOID for checking every access --> + <io.netty.leakDetection.level>ADVANCED</io.netty.leakDetection.level> + </systemPropertyVariables> </configuration> </plugin> </plugins> diff --git a/components/camel-netty/pom.xml b/components/camel-netty/pom.xml index b0fdcfb..12a275e 100644 --- a/components/camel-netty/pom.xml +++ b/components/camel-netty/pom.xml @@ -79,4 +79,22 @@ <scope>test</scope> </dependency> </dependencies> + + <build> + <plugins> + <plugin> + <artifactId>maven-surefire-plugin</artifactId> + <configuration> + <forkCount>1</forkCount> + <reuseForks>false</reuseForks> + <forkedProcessTimeoutInSeconds>5000</forkedProcessTimeoutInSeconds> + <systemPropertyVariables> + <!-- can use PARANOID for checking every access --> + <io.netty.leakDetection.level>ADVANCED</io.netty.leakDetection.level> + </systemPropertyVariables> + </configuration> + </plugin> + </plugins> + </build> + </project>