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/11 17:50:16 UTC

[camel] branch mf created (now c3df464278e)

This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a change to branch mf
in repository https://gitbox.apache.org/repos/asf/camel.git


      at c3df464278e camel-mail - Attempt to fix flaky test

This branch includes the following new commits:

     new c3df464278e camel-mail - Attempt to fix flaky test

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[camel] 01/01: camel-mail - Attempt to fix flaky test

Posted by da...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch mf
in repository https://gitbox.apache.org/repos/asf/camel.git

commit c3df464278e4bf0f9895cf3a4c16c47aeef9f9bb
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Fri Aug 11 19:50:02 2023 +0200

    camel-mail - Attempt to fix flaky test
---
 .../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();
     }