Forget this. I was not up to date with github master. It nows works fine.
Thanks
-Vincent
On Mar 3, 2012, at 3:16 PM, Vincent Massol wrote:
  Hi Thomas,
 I'm having problems with the cache tests for infinispan. They take a very long time
to execute locally and some fail:
 -------------------------------------------------------
 T E S T S
 -------------------------------------------------------
 Running org.xwiki.cache.infinispan.InfinispanCacheTest
 Tests run: 10, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 103.143 sec <<<
FAILURE!
 Running org.xwiki.cache.infinispan.InfinispanConfigTest
 Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.044 sec
 Running org.xwiki.cache.infinispan.InfinispanLocalCacheTest
 Tests run: 10, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 102.152 sec <<<
FAILURE!
 Results :
 Failed tests:
testCreateAndDestroyCacheLRUMaxEntries(org.xwiki.cache.infinispan.InfinispanCacheTest): No
value has been evicted from the cache
  testCreateAndDestroyCacheLRUTimeToLive(org.xwiki.cache.infinispan.InfinispanCacheTest)
  testCreateAndDestroyCacheLRUAll(org.xwiki.cache.infinispan.InfinispanCacheTest)
testCreateAndDestroyCacheLRUMaxEntries(org.xwiki.cache.infinispan.InfinispanLocalCacheTest):
No value has been evicted from the cache
testCreateAndDestroyCacheLRUTimeToLive(org.xwiki.cache.infinispan.InfinispanLocalCacheTest)
  testCreateAndDestroyCacheLRUAll(org.xwiki.cache.infinispan.InfinispanLocalCacheTest)
 Tests run: 21, Failures: 6, Errors: 0, Skipped: 0
 Any idea?
 Thanks
 -Vincent