[
https://issues.apache.org/jira/browse/CAMEL-23317?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18114149#comment-18114149
]
Guillaume Nodet commented on CAMEL-23317:
-----------------------------------------
This issue appears to have been already fixed on the main branch through a
series of commits:
- *dc76bb58ef7e* (CAMEL-23317, Jul 10 2026): Fixed shared mailbox race
condition in both MimeMultipartAlternativeWithLongerFilenameTest and
RawMailMessageTest by giving each test class unique mailbox usernames and
adding @Isolated annotation.
- *9076b83a0924* (CAMEL-24013, Jul 12 2026): Fixed wrong mailbox user in IMAP
route config (jonesImap vs jonesRawImap causing two routes to race on the same
mailbox with delete=true).
- *957613bf3d47* (CAMEL-24597, Sep 10 2026): Fixed production bug in
MailConverters.toString(Multipart) where getContent() was called twice instead
of using the already-fetched variable, causing POP3 stream exhaustion.
All tests are now active without @Disabled annotations. Please verify and close
if confirmed.
_Note: This comment was generated by an AI coding agent and requires manual
verification._
> Regular test failure for camel-mail
> -----------------------------------
>
> Key: CAMEL-23317
> URL: https://issues.apache.org/jira/browse/CAMEL-23317
> Project: Camel
> Issue Type: Test
> Components: camel-mail
> Affects Versions: 4.19.0
> Reporter: Aurélien Pupier
> Priority: Minor
>
> 2 tests failed in the last 5 builds:
> {noformat}
> java.lang.AssertionError: mock://result Received message count. Expected:
> <1> but was: <0>
> at
> org.apache.camel.component.mock.MockEndpoint.fail(MockEndpoint.java:2075)
> at
> org.apache.camel.component.mock.MockEndpoint.assertEquals(MockEndpoint.java:2010)
> at
> org.apache.camel.component.mock.MockEndpoint.doAssertIsSatisfied(MockEndpoint.java:498)
> at
> org.apache.camel.component.mock.MockEndpoint.assertIsSatisfied(MockEndpoint.java:476)
> at
> org.apache.camel.component.mock.MockEndpoint.assertIsSatisfied(MockEndpoint.java:466)
> at
> org.apache.camel.component.mail.MimeMultipartAlternativeWithLongerFilenameTest.verifyTheRecivedEmail(MimeMultipartAlternativeWithLongerFilenameTest.java:73)
> at
> org.apache.camel.component.mail.MimeMultipartAlternativeWithLongerFilenameTest.testMultipartEmailWithRegularAttachments(MimeMultipartAlternativeWithLongerFilenameTest.java:101){noformat}
> {noformat}
> java.lang.AssertionError: mock://normalMessageImap Received message count.
> Expected: <1> but was: <0>
> at
> org.apache.camel.component.mock.MockEndpoint.fail(MockEndpoint.java:2075)
> at
> org.apache.camel.component.mock.MockEndpoint.assertEquals(MockEndpoint.java:2010)
> at
> org.apache.camel.component.mock.MockEndpoint.doAssertIsSatisfied(MockEndpoint.java:498)
> at
> org.apache.camel.component.mock.MockEndpoint.assertIsSatisfied(MockEndpoint.java:476)
> at
> org.apache.camel.component.mock.MockEndpoint.assertIsSatisfied(MockEndpoint.java:466)
> at
> org.apache.camel.component.mock.MockEndpoint.assertIsSatisfied(MockEndpoint.java:265)
> at
> org.apache.camel.component.mail.RawMailMessageTest.testNormalMessageConsumer(RawMailMessageTest.java:137)
> at
> org.apache.camel.component.mail.RawMailMessageTest.testNormalMessageConsumerImap(RawMailMessageTest.java:126){noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)