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

FuturesTest.testCombineWithCompletionErrors random failures

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Blocker
    • 7.2.0.Final
    • 7.2.0.Beta2
    • Core, Test Suite
    • None

    Description

      [pri:0, instance:org.infinispan.commons.util.concurrent.FuturesTest@241ecdba] should have thrown an exception of class java.util.concurrent.ExecutionException
          at org.testng.internal.Invoker.handleInvocationResults(Invoker.java:1512)
          at org.testng.internal.Invoker.invokeMethod(Invoker.java:754)
      

      http://ci.infinispan.org/viewLog.html?buildId=24682&buildTypeId=bt9&guest=1

      I believe this can happen because NotifyingFutureImpl's actualReturnValue and exceptionThrown fields are not volatile.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: