Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-8616

DistAsyncFuncTest.testMergeFromNonOwner random failures

    XMLWordPrintable

Details

    Description

      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)
      

      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.

      Attachments

        Issue Links

          Activity

            Public project attachment banner

              context keys: [headless, issue, helper, isAsynchronousRequest, project, action, user]
              current Project key: ISPN

              People

                dberinde@redhat.com Dan Berindei
                dberinde@redhat.com Dan Berindei
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: