james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From adup...@apache.org
Subject [3/9] james-project git commit: MPT-43 Remove an uneeded ElasticSearch AWAIT
Date Mon, 05 Nov 2018 14:26:50 GMT
MPT-43 Remove an uneeded ElasticSearch AWAIT


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

Branch: refs/heads/master
Commit: 2803928630c25d4554531e370b884405d71ffc29
Parents: 83b6791
Author: Benoit Tellier <btellier@linagora.com>
Authored: Mon Nov 5 10:35:36 2018 +0700
Committer: Benoit Tellier <btellier@linagora.com>
Committed: Mon Nov 5 10:36:30 2018 +0700

----------------------------------------------------------------------
 .../imapmailbox/elasticsearch/host/ElasticSearchHostSystem.java  | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/james-project/blob/28039286/mpt/impl/imap-mailbox/elasticsearch/src/test/java/org/apache/james/mpt/imapmailbox/elasticsearch/host/ElasticSearchHostSystem.java
----------------------------------------------------------------------
diff --git a/mpt/impl/imap-mailbox/elasticsearch/src/test/java/org/apache/james/mpt/imapmailbox/elasticsearch/host/ElasticSearchHostSystem.java
b/mpt/impl/imap-mailbox/elasticsearch/src/test/java/org/apache/james/mpt/imapmailbox/elasticsearch/host/ElasticSearchHostSystem.java
index 6dc3c0c..3d06a39 100644
--- a/mpt/impl/imap-mailbox/elasticsearch/src/test/java/org/apache/james/mpt/imapmailbox/elasticsearch/host/ElasticSearchHostSystem.java
+++ b/mpt/impl/imap-mailbox/elasticsearch/src/test/java/org/apache/james/mpt/imapmailbox/elasticsearch/host/ElasticSearchHostSystem.java
@@ -114,7 +114,7 @@ public class ElasticSearchHostSystem extends JamesImapHostSystem {
         this.mailboxManager.setMessageSearchIndex(searchIndex);
         this.mailboxManager.addGlobalListener(searchIndex, new MockMailboxSession("admin"));
 
-        final ImapProcessor defaultImapProcessorFactory =
+        ImapProcessor defaultImapProcessorFactory =
             DefaultImapProcessorFactory.createDefaultProcessor(this.mailboxManager,
                 new StoreSubscriptionManager(factory),
                 new NoQuotaManager(),
@@ -123,8 +123,6 @@ public class ElasticSearchHostSystem extends JamesImapHostSystem {
         configure(new DefaultImapDecoderFactory().buildImapDecoder(),
             new DefaultImapEncoderFactory().buildImapEncoder(),
             defaultImapProcessorFactory);
-
-        embeddedElasticSearch.awaitForElasticSearch();
     }
 
     @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