[ https://issues.apache.org/jira/browse/JAMES-3732?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17511044#comment-17511044 ]
Benoit Tellier commented on JAMES-3732: --------------------------------------- +1 contribution welcome! PR welcomed. We can set this as a system property for the surefire test runner in all Netty based projects. > Always run test with PARANOID leak detection level > -------------------------------------------------- > > Key: JAMES-3732 > URL: https://issues.apache.org/jira/browse/JAMES-3732 > Project: James Server > Issue Type: Improvement > Reporter: Glennos > Priority: Major > > > Always run tests with PARANOID leak detection level - > [https://netty.io/wiki/reference-counted-objects.html#best-practices-to-avoid-leaks] > To do this we simply need to add: > -Dio.netty.leakDetectionLevel=PARANOID (samples 100% of buffers). > > Also discussed here: https://github.com/HubSpot/NioSmtpClient/issues/30 -- This message was sent by Atlassian Jira (v8.20.1#820001) --------------------------------------------------------------------- To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org