]
Dan Berindei commented on ISPN-8074:
------------------------------------
The test runs with L1 enabled, and it looks like the {{computeIfPresent()}} operation can
finish before the entry is invalidated on all the non-owners. It becomes much easier to
reproduce with an artificial delay in {{InvalidateL1Command.perform()}}, but I'm
thinking {{DistSyncFuncTest}} should work with L1 disabled and the L1-enabled test should
be in {{DistSyncL1FuncTest}}.
DistSyncFuncTest failing random in computeIfPresent test
--------------------------------------------------------
Key: ISPN-8074
URL:
https://issues.jboss.org/browse/ISPN-8074
Project: Infinispan
Issue Type: Bug
Environment: Jenkins
http://ci.infinispan.org/job/Infinispan/job/master/41/testReport/junit/or...
Reporter: Katia Aresti
Assignee: Katia Aresti
http://ci.infinispan.org/job/Infinispan/job/master/41/testReport/junit/or...
org.infinispan.distribution.DistSyncFuncTest.testComputeIfPresentFromNonOwner[DIST_SYNC,
tx=false] (from infinispan-core)
En échec depuis 1 build (Depuis Instable#41 )
A duré 0.28 s.
Ajouter une description
This test was not claimed. Claim it.
This test was not claimed. Claim it.
Message d'erreur
Expecting [k1] to equal [null] on cache [DistSyncFuncTest[DIST_SYNC,
tx=false]-NodeB-50117] but was [computed_k1_value]. Owners are [Cache
'dist'@DistSyncFuncTest[DIST_SYNC, tx=false]-NodeC-19559, Cache
'dist'@DistSyncFuncTest[DIST_SYNC, tx=false]-NodeD-7512]
Pile d'exécution
java.lang.AssertionError: Expecting [k1] to equal [null] on cache
[DistSyncFuncTest[DIST_SYNC, tx=false]-NodeB-50117] but was [computed_k1_value]. Owners
are [Cache 'dist'@DistSyncFuncTest[DIST_SYNC, tx=false]-NodeC-19559, Cache
'dist'@DistSyncFuncTest[DIST_SYNC, tx=false]-NodeD-7512]
at
org.infinispan.distribution.BaseDistFunctionalTest.assertOnAllCaches(BaseDistFunctionalTest.java:176)
at
org.infinispan.distribution.BaseDistFunctionalTest.assertRemovedOnAllCaches(BaseDistFunctionalTest.java:168)
at
org.infinispan.distribution.DistSyncFuncTest.testComputeIfPresentFromNonOwner(DistSyncFuncTest.java:357)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:748)
... Removed 16 stack frames