Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-8747

Remove\RemoveAll method should not count expired entry as removed.

    XMLWordPrintableJSON

Details

    Description

      We have 2 TCK 1.0 test that are passed due to we have eagerTtl=true by default.
      The reason is remove() return true even if an expired entry was removed.
      Seems, we have to evict expired entry from cache on remove(), but do not count it as removed.

      java.lang.AssertionError
      at org.jsr107.tck.expiry.CacheExpiryTest.expire_whenAccessed(CacheExpiryTest.java:326)

      java.lang.AssertionError: expected:<0> but was:<1> at org.jsr107.tck.expiry.CacheExpiryTest.testCacheStatisticsRemoveAll(CacheExpiryTest.java:160)

      Attachments

        Issue Links

          Activity

            People

              amashenkov Andrey Mashenkov
              amashenkov Andrey Mashenkov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: