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

LockCleanupStateTransferTest fails randomly

    XMLWordPrintable

Details

    Description

      LockCleanupStateTransferTest assumes that once the tx is done on one remote node it's done on all of them (and on the originator as well).

      It sometimes fails with this stack trace:

      java.lang.AssertionError: For cache 0 expected:<0> but was:<1>
      	at org.junit.Assert.fail(Assert.java:93)
      	at org.junit.Assert.failNotEquals(Assert.java:647)
      	at org.junit.Assert.assertEquals(Assert.java:128)
      	at org.junit.Assert.assertEquals(Assert.java:472)
      	at org.infinispan.tx.LockCleanupStateTransferTest.testLockReleasedCorrectly(LockCleanupStateTransferTest.java:164)
      	at org.infinispan.tx.LockCleanupStateTransferTest.testBelatedCommit(LockCleanupStateTransferTest.java:76)
      

      Attachments

        Activity

          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: