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 "Raphaël Ouazana (JIRA)" <se...@james.apache.org> on 2019/06/24 09:11:00 UTC

[jira] [Commented] (JAMES-2804) CassandraMailRepositoryWithFakeImplementationsTest leaks Cassandra driver connections

    [ https://issues.apache.org/jira/browse/JAMES-2804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16870990#comment-16870990 ] 

Raphaël Ouazana commented on JAMES-2804:
----------------------------------------

Fixed by https://github.com/linagora/james-project/pull/2473

> CassandraMailRepositoryWithFakeImplementationsTest leaks Cassandra driver connections
> -------------------------------------------------------------------------------------
>
>                 Key: JAMES-2804
>                 URL: https://issues.apache.org/jira/browse/JAMES-2804
>             Project: James Server
>          Issue Type: Bug
>            Reporter: Matthieu Baechler
>            Priority: Major
>
> To workaround the fact that junit extensions are setup twice when using @Nested class, in CassandraMailRepositoryWithFakeImplementationsTest, we disabled the teardown of the extension.
> It leads to a Cassandra driver leak.
> We should avoid registering resources in the parent class instead.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org