You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2023/08/12 06:27:27 UTC
[camel] branch main updated: camel-mail - Attempt to fix flaky test (#11091)
This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new 0550fddd748 camel-mail - Attempt to fix flaky test (#11091)
0550fddd748 is described below
commit 0550fddd7488c013473fb09b9463f8830da90442
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Sat Aug 12 08:27:21 2023 +0200
camel-mail - Attempt to fix flaky test (#11091)
---
.../test/java/org/apache/camel/component/mail/MailConvertersTest.java | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/components/camel-mail/src/test/java/org/apache/camel/component/mail/MailConvertersTest.java b/components/camel-mail/src/test/java/org/apache/camel/component/mail/MailConvertersTest.java
index c25fe9e7cc6..96383fe7b95 100644
--- a/components/camel-mail/src/test/java/org/apache/camel/component/mail/MailConvertersTest.java
+++ b/components/camel-mail/src/test/java/org/apache/camel/component/mail/MailConvertersTest.java
@@ -36,12 +36,14 @@ import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertNotNull;
public class MailConvertersTest extends CamelTestSupport {
- private static final MailboxUser james = Mailbox.getOrCreateUser("james", "secret");
+
+ private MailboxUser james;
@Override
@BeforeEach
public void setUp() throws Exception {
Mailbox.clearAll();
+ james = Mailbox.getOrCreateUser("james", "secret");
super.setUp();
}