camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <>
Subject [jira] Assigned: (CAMEL-528) Intermittent MailFetchSizeTest failure
Date Wed, 21 May 2008 12:34:54 GMT


Claus Ibsen reassigned CAMEL-528:

    Assignee: Claus Ibsen

> Intermittent MailFetchSizeTest failure
> --------------------------------------
>                 Key: CAMEL-528
>                 URL:
>             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

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

View raw message