Expired cache entries remains in the cache
------------------------------------------
Key: ISPN-1285
URL:
https://issues.jboss.org/browse/ISPN-1285
Project: Infinispan
Issue Type: Bug
Affects Versions: 5.0.0.CR8
Reporter: Martin Gencur
Assignee: Galder Zamarreño
Fix For: 5.0.0.FINAL
Default values for expiration specified via Infinispan configuration file (tag
<expiration lifespan="2000" maxIdle="1000" />) do not influence
real lifespan of cache entries.
A test that proves this can be found at
https://svn.devel.redhat.com/repos/jboss-qa/edg/infinispan-functional-tes....
To run it, one has to set ISPN_HOME property pointing to standalone Infinispan (e.g.
/tmp/infinispan-5.0.0.CR8) and run "mvn clean verify". Configuration files
(infinispan-config-repl.xml) can be found in the project under src/test/resources and are
used automatically for the test.
The test is using 2 standalone Infinispan instances with replicated cache and configured
file cache stores. Expiration should remove a cache entry from all locations (all cache in
the cluster, all cache stores).
The test fails on this line: Assert.assertEquals(null, cache.get("k3"));
To run the test it is also needed to checkout the following projects and run "mvn
clean install" on them:
https://github.com/arquillian/arquillian-core
https://github.com/infinispan/infinispan-arquillian-container
The test will use hostnames test1 and test2, so these should be bound to virtual
interfaces.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: