]
Dan Berindei updated ISPN-8616:
-------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 9.4.1.Final
Resolution: Done
DistAsyncFuncTest.testMergeFromNonOwner random failures
-------------------------------------------------------
Key: ISPN-8616
URL:
https://issues.jboss.org/browse/ISPN-8616
Project: Infinispan
Issue Type: Bug
Components: Test Suite - Core
Affects Versions: 9.2.0.Beta1
Reporter: Dan Berindei
Assignee: Dan Berindei
Priority: Major
Labels: testsuite_stability
Fix For: 10.0.0.Alpha1, 9.4.1.Final
{noformat}
java.lang.AssertionError: Fail on owner cache DistAsyncFuncTest[DIST_ASYNC,
tx=false]-NodeA-42474: dc.get(k1) returned null
at
org.infinispan.distribution.BaseDistFunctionalTest.assertOwnershipAndNonOwnership(BaseDistFunctionalTest.java:191)
at
org.infinispan.distribution.BaseDistFunctionalTest.assertOnAllCachesAndOwnership(BaseDistFunctionalTest.java:162)
at
org.infinispan.distribution.BaseDistFunctionalTest.initAndTest(BaseDistFunctionalTest.java:142)
at
org.infinispan.distribution.DistSyncFuncTest.testMergeFromNonOwner(DistSyncFuncTest.java:387)
{noformat}
The test method is new and the interceptors have changed, but it's probably the same
problem with {{asyncWait}} signaled in ISPN-3741. I commented out the entire
implementation of {{asyncWait}} in {{DistAsyncFuncTest}} and it still passed when run by
itself, so we need a way to delay the commands and check that the test is not sensitive to
such delays.