james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From btell...@apache.org
Subject [16/20] james-project git commit: MAILBOX-315 Mapper test should close their cluster properly
Date Thu, 01 Feb 2018 10:44:49 GMT
MAILBOX-315 Mapper test should close their cluster properly


Project: http://git-wip-us.apache.org/repos/asf/james-project/repo
Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/8e6fd6ed
Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/8e6fd6ed
Diff: http://git-wip-us.apache.org/repos/asf/james-project/diff/8e6fd6ed

Branch: refs/heads/master
Commit: 8e6fd6eddf19f221f6f9d0f43bfbefd65fc1df97
Parents: 8d94781
Author: benwa <btellier@linagora.com>
Authored: Tue Jan 30 09:32:14 2018 +0700
Committer: benwa <btellier@linagora.com>
Committed: Thu Feb 1 17:42:29 2018 +0700

----------------------------------------------------------------------
 .../james/mailbox/cassandra/mail/CassandraMapperProvider.java      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/james-project/blob/8e6fd6ed/mailbox/cassandra/src/test/java/org/apache/james/mailbox/cassandra/mail/CassandraMapperProvider.java
----------------------------------------------------------------------
diff --git a/mailbox/cassandra/src/test/java/org/apache/james/mailbox/cassandra/mail/CassandraMapperProvider.java
b/mailbox/cassandra/src/test/java/org/apache/james/mailbox/cassandra/mail/CassandraMapperProvider.java
index cf72181..f8b772b 100644
--- a/mailbox/cassandra/src/test/java/org/apache/james/mailbox/cassandra/mail/CassandraMapperProvider.java
+++ b/mailbox/cassandra/src/test/java/org/apache/james/mailbox/cassandra/mail/CassandraMapperProvider.java
@@ -96,7 +96,7 @@ public class CassandraMapperProvider implements MapperProvider {
 
     @Override
     public void clearMapper() throws MailboxException {
-        cassandra.clearAllTables();
+        cassandra.close();
     }
 
     @Override


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


Mime
View raw message