You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Tellier Benoit (JIRA)" <se...@james.apache.org> on 2018/06/08 03:08:00 UTC

[jira] [Commented] (JAMES-2402) ToRepositoryTest::userShouldBeAbleToAccessReprocessedMails is unstable

    [ https://issues.apache.org/jira/browse/JAMES-2402?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16505639#comment-16505639 ] 

Tellier Benoit commented on JAMES-2402:
---------------------------------------

[https://github.com/linagora/james-project/pull/1461] fully solved the issue.

InMemoryMailRepositoryStore is not thread safe 



Calling select concurrently leands to different repositories being returned and
thus some mails to be lost, leading to test instability.

Current changes focuses on correctness, even if it still leads to some non accessible mail
repository being initialized.

> ToRepositoryTest::userShouldBeAbleToAccessReprocessedMails is unstable
> ----------------------------------------------------------------------
>
>                 Key: JAMES-2402
>                 URL: https://issues.apache.org/jira/browse/JAMES-2402
>             Project: James Server
>          Issue Type: Bug
>          Components: integrationTests
>            Reporter: Tellier Benoit
>            Priority: Major
>
> The problem was that the "has received a mail" can succeed while 2 mails are not yet received.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org