You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Benoit Tellier (Jira)" <se...@james.apache.org> on 2022/03/23 06:35:00 UTC
[jira] [Commented] (JAMES-3732) Always run test with PARANOID leak detection level
[ 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-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org