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 ad16b8cac6b7963040ba434e729dd4e7d7fe52ff Author: Benoit Tellier <[email protected]> AuthorDate: Mon Jun 1 10:44:25 2020 +0700 JAMES-3143 Fix unstable Consistency integration test When sending a mails, localDelivery fails. A bounce is generated for the sender, who is local, thus localDelivery fails again. The time window during which only one email processing had been failing is thus short, we should await that "at least once email delivery" had been failing. --- .../webadmin/integration/rabbitmq/ConsistencyTasksIntegrationTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/protocols/webadmin-integration-test/distributed-webadmin-integration-test/src/test/java/org/apache/james/webadmin/integration/rabbitmq/ConsistencyTasksIntegrationTest.java b/server/protocols/webadmin-integration-test/distributed-webadmin-integration-test/src/test/java/org/apache/james/webadmin/integration/rabbitmq/ConsistencyTasksIntegrationTest.java index 5475b55..6d9335b 100644 --- a/server/protocols/webadmin-integration-test/distributed-webadmin-integration-test/src/test/java/org/apache/james/webadmin/integration/rabbitmq/ConsistencyTasksIntegrationTest.java +++ b/server/protocols/webadmin-integration-test/distributed-webadmin-integration-test/src/test/java/org/apache/james/webadmin/integration/rabbitmq/ConsistencyTasksIntegrationTest.java @@ -266,7 +266,7 @@ class ConsistencyTasksIntegrationTest { Awaitility.await() .untilAsserted(() -> assertThat(server.getProbe(MailRepositoryProbeImpl.class) - .getRepositoryMailCount(MailRepositoryUrl.from("cassandra://var/mail/error/"))).isEqualTo(1)); + .getRepositoryMailCount(MailRepositoryUrl.from("cassandra://var/mail/error/"))).isGreaterThanOrEqualTo(1)); server.getProbe(TestingSessionProbe.class) .getTestingSession().registerScenario(executeNormally() --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
