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

AbstractNotificationRegistryTest is unstable

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • master
    • None
    • cassandra, JMAP
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: