[ 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to