Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-1991

CI Failure: HARegionQueueJUnitTest.testNoExpiryOfThreadId

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.1.0
    • client queues

    Description

      This test failed with 9189e3bb95fcd8547327c6047dafea5e0fd76dbb.

      org.apache.geode.internal.cache.ha.HARegionQueueJUnitTest > testNoExpiryOfThreadId FAILED
          java.lang.AssertionError:  Expected region size not to be zero since expiry time has not been exceeded but it is not so 
              at org.junit.Assert.fail(Assert.java:88)
              at org.junit.Assert.assertTrue(Assert.java:41)
              at org.apache.geode.internal.cache.ha.HARegionQueueJUnitTest.testNoExpiryOfThreadId(HARegionQueueJUnitTest.java:587)
      
      

      It looks like this is probably just a racy test. It sets an expiration of 3 seconds, sleeps for 3 seconds, and expects the entry to not be expired.

      Attachments

        Activity

          People

            Unassigned Unassigned
            upthewaterspout Dan Smith
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: