[
https://issues.apache.org/activemq/browse/CAMEL-528?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen reassigned CAMEL-528:
---------------------------------
Assignee: Claus Ibsen
> Intermittent MailFetchSizeTest failure
> --------------------------------------
>
> Key: CAMEL-528
> URL: https://issues.apache.org/activemq/browse/CAMEL-528
> Project: Apache Camel
> Issue Type: Bug
> Components: camel-mail
> Affects Versions: 1.3.0
> Reporter: William Tam
> Assignee: Claus Ibsen
> Priority: Minor
> Fix For: 1.4.0
>
> Attachments: patch.txt
>
>
> I am seeing MailFetchSizeTest failing on my windows box. After taking a look
> at the mock mailbox code, I think it is because mock mailbox
> (org.jvnet.mock_javamail.Mailbox) is not threadsafe. If I add a half second
> sleep before checking mailbox.size() (see attached patch), it does not fail
> on my box anymore. It is still not a guaranteed fix though. I think we
> could remove the mailbox size checks if the "sleep" trick does not work
> because mock mailbox does not seem to support our testcase and we already
> verify messages on the receiving mock endpoint.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.