[ https://issues.apache.org/jira/browse/JAMES-3732?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17511557#comment-17511557 ]
René Cordier commented on JAMES-3732: ------------------------------------- Sounds cool but I'm just wondering how do we ensure to fail a build if we detect a leak in the tests? > 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