JAMES-2249 Add missing awaits

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

Branch: refs/heads/master
Commit: 3cd6e50e7be1aca9ff020cb314d6910d43587d7b
Parents: 325df63
Author: benwa <[email protected]>
Authored: Fri Dec 8 10:03:20 2017 +0700
Committer: Antoine Duprat <[email protected]>
Committed: Tue Dec 12 15:12:35 2017 +0100

----------------------------------------------------------------------
 .../methods/integration/cucumber/GetMessagesMethodStepdefs.java    | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/james-project/blob/3cd6e50e/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/java/org/apache/james/jmap/methods/integration/cucumber/GetMessagesMethodStepdefs.java
----------------------------------------------------------------------
diff --git 
a/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/java/org/apache/james/jmap/methods/integration/cucumber/GetMessagesMethodStepdefs.java
 
b/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/java/org/apache/james/jmap/methods/integration/cucumber/GetMessagesMethodStepdefs.java
index 0d86080..c31f010 100644
--- 
a/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/java/org/apache/james/jmap/methods/integration/cucumber/GetMessagesMethodStepdefs.java
+++ 
b/server/protocols/jmap-integration-testing/jmap-integration-testing-common/src/test/java/org/apache/james/jmap/methods/integration/cucumber/GetMessagesMethodStepdefs.java
@@ -376,6 +376,7 @@ public class GetMessagesMethodStepdefs {
             Date.from(dateTime.toInstant()), isRecent, flags)
             .getMessageId();
         messageIdStepdefs.addMessageId(messageName, id);
+        mainStepdefs.awaitMethod.run();
     }
 
     private void appendMessage(String messageName, String mailbox, String 
emlFileName) throws Exception {
@@ -388,6 +389,7 @@ public class GetMessagesMethodStepdefs {
                     .getMessageId();
 
         messageIdStepdefs.addMessageId(messageName, id);
+        mainStepdefs.awaitMethod.run();
     }
 
     @When("^\"([^\"]*)\" ask for messages using its accountId$")


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to