[infinispan-issues] [JBoss JIRA] Created: (ISPN-1285) Expired cache entries remains in the cache
Martin Gencur (JIRA)
jira-events at lists.jboss.org
Tue Aug 2 06:37:23 EDT 2011
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: Manik Surtani
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-tests/trunk/expiration. 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: http://www.atlassian.com/software/jira
More information about the infinispan-issues
mailing list