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

DistTopologyChangeUnderLoadTest.testPutsSucceedWhileTopologyChanges random failures

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      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.

      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)
      

              rh-ee-galder Galder ZamarreƱo
              dberinde@redhat.com Dan Berindei (Inactive)
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: