Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-1318

replaceWithVersionAsync on RemoteCache (HotRod) fails to set lifespan of cache entries

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      Cache entries remain in the cache even after their lifespan expires (when setting the lifespan via replaceWithVersionAsync and also via replaceWithVersion (sync))

      The test verifying this can be found at https://svn.devel.redhat.com/repos/jboss-qa/edg/infinispan-functional-tests/trunk/async-future/src/test/java/org/infinispan/test/async/LocalModeTest.java - test method testReplaceWithVersionWithLifespanAsync()

      The test is failing on line assertEquals(null, cache.getVersioned("aKey"));

      To run it, one has to set ISPN_HOME property pointing to Infinispan build and run "mvn clean verify".

              rh-ee-galder Galder ZamarreƱo
              mgencur Martin Gencur (Inactive)
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: