camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William Tam (JIRA)" <>
Subject [jira] Created: (CAMEL-528) Intermittent MailFetchSizeTest failure
Date Sun, 18 May 2008 04:40:45 GMT
Intermittent MailFetchSizeTest failure

                 Key: CAMEL-528
             Project: Apache Camel
          Issue Type: Bug
          Components: camel-mail
    Affects Versions: 1.3.0
            Reporter: William Tam
            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

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message