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] [Created] (JAMES-2462) AbstractNotificationRegistryTest is unstable
Date Wed, 11 Jul 2018 04:51:00 GMT
Tellier Benoit created JAMES-2462:
-------------------------------------

             Summary: AbstractNotificationRegistryTest is unstable
                 Key: JAMES-2462
                 URL: https://issues.apache.org/jira/browse/JAMES-2462
             Project: James Server
          Issue Type: Bug
          Components: cassandra, JMAP
    Affects Versions: master
            Reporter: Tellier Benoit
            Assignee: Antoine Duprat


AbstractNotificationRegistryTest::registerShouldWorkWithExpiracyDate have a slow percentage
of chances to fail...

A delay of one second is used. This leads to push a 1 second TTL in Cassandra.

A quick experimentation seems to suggest TTL then expires when the next second is reach (Polling
for checking expiration delay suggests we got values between 0 & 1s)... Which of course
is hasardous, and lead to random test failures.



--
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


Mime
View raw message