Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-2462

AbstractNotificationRegistryTest is unstable

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: master
    • Fix Version/s: None
    • Component/s: cassandra, JMAP
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              aduprat Antoine Duprat
              Reporter:
              btellier Benoit Tellier
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: