[
https://issues.apache.org/jira/browse/JAMES-3760?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17532106#comment-17532106
]
Benoit Tellier commented on JAMES-3760:
---------------------------------------
I wonder if we could not decide to not activate leak detection in tests and
keep this in strategic places, eg integration tests.
A good lifecycle management in tests might be achievable if we reduce the scope.
> MailRepositoryContract is not cleaning the created Mails
> --------------------------------------------------------
>
> Key: JAMES-3760
> URL: https://issues.apache.org/jira/browse/JAMES-3760
> Project: James Server
> Issue Type: Bug
> Components: tests
> Affects Versions: master
> Reporter: Matthieu Baechler
> Priority: Minor
>
> Once https://issues.apache.org/jira/browse/JAMES-3759 is fixed, a lot of
> leaks are detected when runningĀ
> {code:java}
> MailRepositoryContract{code}
> The root cause isĀ
> {noformat}
> createMail{noformat}
> generates MailImpl instances which need to be disposed
--
This message was sent by Atlassian Jira
(v8.20.7#820007)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]