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

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

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
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: