[infinispan-issues] [JBoss JIRA] (ISPN-5488) DistTopologyChangeUnderLoadTest.testPutsSucceedWhileTopologyChanges random failures

Galder Zamarreño (JIRA) issues at jboss.org
Wed May 20 11:30:20 EDT 2015


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

Galder Zamarreño reassigned ISPN-5488:
--------------------------------------

    Assignee: Galder Zamarreño


> DistTopologyChangeUnderLoadTest.testPutsSucceedWhileTopologyChanges random failures
> -----------------------------------------------------------------------------------
>
>                 Key: ISPN-5488
>                 URL: https://issues.jboss.org/browse/ISPN-5488
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Test Suite - Server
>    Affects Versions: 7.2.1.Final
>            Reporter: Dan Berindei
>            Assignee: Galder Zamarreño
>            Priority: Blocker
>              Labels: testsuite_stability
>             Fix For: 8.0.0.Alpha1
>
>
> The test assumes that the client's topology information is updated before  {{waitForRehash}} returns, but that is not guaranteed. The test should either use {{eventually()}}, or wait for the PutHammer thread to finish one more operation, before checking the client's servers list.
> {noformat}
> java.lang.AssertionError: expected:<1> but was:<2>
>     at org.testng.AssertJUnit.fail(AssertJUnit.java:59)
>     at org.testng.AssertJUnit.failNotEquals(AssertJUnit.java:364)
>     at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:80)
>     at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:245)
>     at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:252)
>     at org.infinispan.client.hotrod.DistTopologyChangeUnderLoadTest.testPutsSucceedWhileTopologyChanges(DistTopologyChangeUnderLoadTest.java:62)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)



More information about the infinispan-issues mailing list