james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tellier Benoit (JIRA)" <j...@apache.org>
Subject [jira] [Created] (MAILBOX-267) Cassandra UID and ModSeq generation : build is unstable
Date Fri, 15 Apr 2016 10:45:25 GMT
Tellier Benoit created MAILBOX-267:
--------------------------------------

             Summary: Cassandra UID and ModSeq generation : build is unstable
                 Key: MAILBOX-267
                 URL: https://issues.apache.org/jira/browse/MAILBOX-267
             Project: James Mailbox
          Issue Type: Bug
            Reporter: Tellier Benoit


We noticed some failed builds on our CI environment.

MVN reports : 

 Failed tests:    CassandraUidAndModSeqProviderTest.nextModSeqShouldIncrementValueWhenParallelCalls:172
null

And more specifically : 

Tests run: 5, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 30.361 sec <<< FAILURE!
- in org.apache.james.mailbox.cassandra.mail.CassandraUidAndModSeqProviderTest
nextModSeqShouldIncrementValueWhenParallelCalls(org.apache.james.mailbox.cassandra.mail.CassandraUidAndModSeqProviderTest)
 Time elapsed: 2.884 sec  <<< FAILURE!
java.lang.AssertionError
    at org.apache.james.mailbox.cassandra.mail.CassandraUidAndModSeqProviderTest.nextModSeqShouldIncrementValueWhenParallelCalls(CassandraUidAndModSeqProviderTest.java:172)
Caused by: java.lang.AssertionError: Expecting:
<6L>
to be greater than:
<7L>
    at org.apache.james.mailbox.cassandra.mail.CassandraUidAndModSeqProviderTest.lambda$nextModSeqShouldIncrementValueWhenParallelCalls$4(CassandraUidAndModSeqProviderTest.java:174)
    at org.apache.james.mailbox.cassandra.mail.CassandraUidAndModSeqProviderTest.lambda$propagateException$5(CassandraUidAndModSeqProviderTest.java:188)


Which looks like concurency issues upon modseq creation.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message