[infinispan-issues] [JBoss JIRA] (ISPN-8616) DistAsyncFuncTest.testMergeFromNonOwner random failures

Radim Vansa (JIRA) issues at jboss.org
Mon Jan 22 10:09:00 EST 2018


    [ https://issues.jboss.org/browse/ISPN-8616?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13522001#comment-13522001 ] 

Radim Vansa commented on ISPN-8616:
-----------------------------------

I believe this is because after ISPN-7919 the {{invokeCommandAsync}} was replaced with {{invokeCommand}} et all, and the DistAsyncFuncTest overrides directly {{invokeCommandAsync}} to check who is sending invalidations.

> 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: Radim Vansa
>              Labels: testsuite_stability
>
> {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.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the infinispan-issues mailing list