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 bt...@apache.org on 2020/07/03 02:04:06 UTC
[james-project] 11/15: JAMES-3201 Add a missing task::await to
improve test stability
This is an automated email from the ASF dual-hosted git repository.
btellier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git
commit 8c6bf81abac08d795c40efa9eb212c7821b9b704
Author: Benoit Tellier <bt...@linagora.com>
AuthorDate: Wed Jul 1 12:14:25 2020 +0700
JAMES-3201 Add a missing task::await to improve test stability
---
.../java/org/apache/james/webadmin/routes/MailboxesRoutesTest.java | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/server/protocols/webadmin/webadmin-mailbox/src/test/java/org/apache/james/webadmin/routes/MailboxesRoutesTest.java b/server/protocols/webadmin/webadmin-mailbox/src/test/java/org/apache/james/webadmin/routes/MailboxesRoutesTest.java
index a15fd6c..c537a72 100644
--- a/server/protocols/webadmin/webadmin-mailbox/src/test/java/org/apache/james/webadmin/routes/MailboxesRoutesTest.java
+++ b/server/protocols/webadmin/webadmin-mailbox/src/test/java/org/apache/james/webadmin/routes/MailboxesRoutesTest.java
@@ -1289,6 +1289,10 @@ class MailboxesRoutesTest {
.jsonPath()
.get("taskId");
+ with()
+ .basePath(TasksRoutes.BASE)
+ .get(taskId + "/await");
+
String fixingTaskId = with()
.queryParam("reIndexFailedMessagesOf", taskId)
.queryParam("task", "reIndex")
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org