james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tellier Benoit (JIRA)" <server-...@james.apache.org>
Subject [jira] [Commented] (JAMES-2402) ToRepositoryTest::userShouldBeAbleToAccessReprocessedMails is unstable
Date Fri, 08 Jun 2018 03:08:00 GMT

    [ 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

This message was sent by Atlassian JIRA

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

View raw message