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 c25a21c7a187e6f4e499a750d23b16cfa7d9a9c4 Author: Benoit Tellier <btell...@linagora.com> AuthorDate: Tue Mar 24 14:49:39 2020 +0700 [Build time] Comment to explain 'Speedup ComputeMessageFastViewProjectionListenerTest' --- .../james/jmap/event/ComputeMessageFastViewProjectionListenerTest.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/protocols/jmap-draft/src/test/java/org/apache/james/jmap/event/ComputeMessageFastViewProjectionListenerTest.java b/server/protocols/jmap-draft/src/test/java/org/apache/james/jmap/event/ComputeMessageFastViewProjectionListenerTest.java index 1194d0c..5a22e2d 100644 --- a/server/protocols/jmap-draft/src/test/java/org/apache/james/jmap/event/ComputeMessageFastViewProjectionListenerTest.java +++ b/server/protocols/jmap-draft/src/test/java/org/apache/james/jmap/event/ComputeMessageFastViewProjectionListenerTest.java @@ -103,6 +103,8 @@ class ComputeMessageFastViewProjectionListenerTest { @BeforeEach void setup() throws Exception { eventDeadLetters = new MemoryEventDeadLetters(); + // Default RetryBackoffConfiguration leads each events to be re-executed for 30s which is too long + // Reducing the wait time for the event bus allow a faster test suite execution without harming test correctness RetryBackoffConfiguration backoffConfiguration = RetryBackoffConfiguration.builder() .maxRetries(2) .firstBackoff(Duration.ofMillis(1)) --------------------------------------------------------------------- To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org