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 "Matthieu Baechler (JIRA)" <se...@james.apache.org> on 2019/06/24 08:08:00 UTC

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

Matthieu Baechler created JAMES-2804:
----------------------------------------

             Summary: 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


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