[infinispan-issues] [JBoss JIRA] (ISPN-2537) LockCleanupStateTransferTest fails randomly

Dan Berindei (JIRA) jira-events at lists.jboss.org
Thu Nov 29 06:12:22 EST 2012


     [ https://issues.jboss.org/browse/ISPN-2537?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Berindei updated ISPN-2537:
-------------------------------

    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:

{noformat}
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)
{noformat}



  was:
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:

{noformat}
18:24:29,717 ERROR (testng-LockCleanupStateTransferTest:) [UnitTestTestNGListener] Test testBelatedCommit(org.infinispan.tx.LockCleanupStateTransferTest) failed.
java.lang.AssertionError: expected [true] but found [false]
	at org.testng.Assert.fail(Assert.java:89)
	at org.testng.Assert.failNotEquals(Assert.java:489)
	at org.testng.Assert.assertTrue(Assert.java:37)
	at org.testng.Assert.assertTrue(Assert.java:47)
	at org.infinispan.test.AbstractInfinispanTest.eventually(AbstractInfinispanTest.java:76)
	at org.infinispan.test.AbstractInfinispanTest.eventually(AbstractInfinispanTest.java:59)
	at org.infinispan.test.AbstractInfinispanTest.eventually(AbstractInfinispanTest.java:142)
	at org.infinispan.tx.LockCleanupStateTransferTest.testLockReleasedCorrectly(LockCleanupStateTransferTest.java:163)
	at org.infinispan.tx.LockCleanupStateTransferTest.testBelatedCommit(LockCleanupStateTransferTest.java:78)
{noformat}




    
> LockCleanupStateTransferTest fails randomly
> -------------------------------------------
>
>                 Key: ISPN-2537
>                 URL: https://issues.jboss.org/browse/ISPN-2537
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Test Suite
>    Affects Versions: 5.2.0.Beta4
>            Reporter: Dan Berindei
>            Assignee: Dan Berindei
>             Fix For: 5.2.0.CR1
>
>
> 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:
> {noformat}
> 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)
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the infinispan-issues mailing list