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

ReplTopologyChangeTest.testDropServer random failures

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

XMLWordPrintable

      ReplTopologyChangeTest.expectTopologyChange() assumes that it will take less than 10 put operations to receive an updated topology after killing a node. Some times, however, that is not enough for the server to send the new topology:

      21:30:46,438 ERROR (testng-ReplTopologyChangeTest:) [UnitTestTestNGListener] Test testDropServer(org.infinispan.client.hotrod.ReplTopologyChangeTest) failed.
      java.lang.AssertionError: localhost/127.0.0.1:15269 not found in [/127.0.0.1:15266, /127.0.0.1:15269, /127.0.0.1:15263] expected:<false> but was:<true>
      	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:185)
      	at org.infinispan.client.hotrod.ReplTopologyChangeTest.expectTopologyChange(ReplTopologyChangeTest.java:141)
      	at org.infinispan.client.hotrod.ReplTopologyChangeTest.testDropServer(ReplTopologyChangeTest.java:123)
      

              mircea.markus Mircea Markus (Inactive)
              dberinde@redhat.com Dan Berindei (Inactive)
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: