Rene Cordier created JAMES-2751:
-----------------------------------

             Summary: Refactoring: add a force restart policy in Docker 
Cassandra for some test classes
                 Key: JAMES-2751
                 URL: https://issues.apache.org/jira/browse/JAMES-2751
             Project: James Server
          Issue Type: Improvement
            Reporter: Rene Cordier
             Fix For: 3.4.0


We still can find this kind of errors in the build :

{code:java}
[217370df8625d8292821c199b2c2dfd45fb0d0f2] [ERROR] Failures: 
[217370df8625d8292821c199b2c2dfd45fb0d0f2] [ERROR]   
CassandraMessageIdToImapUidDAOTest.updateShouldUpdateDraftFlag:278 
[217370df8625d8292821c199b2c2dfd45fb0d0f2] Expecting:
[217370df8625d8292821c199b2c2dfd45fb0d0f2]   
<[ComposedMessageIdWithMetaData{composedMessageId=ComposedMessageId{mailboxId=CassandraId{id=e3436d61-6a47-11e9-89e1-fdb0c5d8e998},
 messageId=CassandraMessageId{uuid=e3436d60-6a47-11e9-89e1-fdb0c5d8e998}, 
uid=MessageUid{uid=1}}, flags=, modSeq=1}]>
[217370df8625d8292821c199b2c2dfd45fb0d0f2] to contain only:
[217370df8625d8292821c199b2c2dfd45fb0d0f2]   
<[ComposedMessageIdWithMetaData{composedMessageId=ComposedMessageId{mailboxId=CassandraId{id=e3436d61-6a47-11e9-89e1-fdb0c5d8e998},
 messageId=CassandraMessageId{uuid=e3436d60-6a47-11e9-89e1-fdb0c5d8e998}, 
uid=MessageUid{uid=1}}, flags=\Draft, modSeq=2}]>
[217370df8625d8292821c199b2c2dfd45fb0d0f2] elements not found:
[217370df8625d8292821c199b2c2dfd45fb0d0f2]   
<[ComposedMessageIdWithMetaData{composedMessageId=ComposedMessageId{mailboxId=CassandraId{id=e3436d61-6a47-11e9-89e1-fdb0c5d8e998},
 messageId=CassandraMessageId{uuid=e3436d60-6a47-11e9-89e1-fdb0c5d8e998}, 
uid=MessageUid{uid=1}}, flags=\Draft, modSeq=2}]>
[217370df8625d8292821c199b2c2dfd45fb0d0f2] and elements not expected:
[217370df8625d8292821c199b2c2dfd45fb0d0f2]   
<[ComposedMessageIdWithMetaData{composedMessageId=ComposedMessageId{mailboxId=CassandraId{id=e3436d61-6a47-11e9-89e1-fdb0c5d8e998},
 messageId=CassandraMessageId{uuid=e3436d60-6a47-11e9-89e1-fdb0c5d8e998}, 
uid=MessageUid{uid=1}}, flags=, modSeq=1}]>
{code}

It seems it reappeared as soon as we put back the fork execution tests. This 
task is for trying implementing a forced restart of the Docker Cassandra to see 
if we can avoid those errors.



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

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

Reply via email to