You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@james.apache.org by bt...@apache.org on 2022/08/12 09:02:50 UTC
[james-project] branch master updated: JAMES-3791 Increase FakeSmtp timeout (#1117)
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
The following commit(s) were added to refs/heads/master by this push:
new 6bfc417e3a JAMES-3791 Increase FakeSmtp timeout (#1117)
6bfc417e3a is described below
commit 6bfc417e3a3960fbb6de9648411e115d9a79fbaf
Author: Benoit TELLIER <bt...@linagora.com>
AuthorDate: Fri Aug 12 16:02:44 2022 +0700
JAMES-3791 Increase FakeSmtp timeout (#1117)
GatewayRemoteDeliveryIntegrationTest::mailFromShouldBePreservedUponConcurrency
can take more than 15 secondes on the Apache CI.
---
server/testing/src/main/java/org/apache/james/utils/FakeSmtp.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/server/testing/src/main/java/org/apache/james/utils/FakeSmtp.java b/server/testing/src/main/java/org/apache/james/utils/FakeSmtp.java
index d2b107f444..8c598f6156 100644
--- a/server/testing/src/main/java/org/apache/james/utils/FakeSmtp.java
+++ b/server/testing/src/main/java/org/apache/james/utils/FakeSmtp.java
@@ -111,7 +111,7 @@ public class FakeSmtp implements TestRule, BeforeAllCallback, AfterAllCallback,
}
public void assertEmailReceived(Consumer<ValidatableResponse> expectations) {
- Awaitility.await().atMost(Duration.ofSeconds(15))
+ Awaitility.await().atMost(Duration.ofMinutes(2))
.untilAsserted(() -> expectations.accept(
given(requestSpecification(), RESPONSE_SPECIFICATION)
.get("/api/email")
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For additional commands, e-mail: notifications-help@james.apache.org