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

RebalancePolicyJmxTest.testJoinAndLeaveWithRebalanceSuspendedAwaitingInitialTransfer random failures

XMLWordPrintable

      The test sometimes fails because the rebalance finishes too quickly after it is enabled.

      17:22:35,605 DEBUG (testng-RebalancePolicyJmxTest:[]) [RebalancePolicyJmxTest] Rebalancing with nodes NodeI-11719 NodeJ-4803 NodeK-58683 NodeL-10033
      17:22:35,621 INFO  (remote-thread-NodeI-p45498-t6:[]) [CLUSTER] ISPN000310: Starting cluster-wide rebalance for cache ___defaultcache, topology CacheTopology{id=3, rebalanceId=2, currentCH=DefaultConsistentHash{ns=60, owners = (2)[NodeI-11719: 30+30, NodeJ-4803: 30+30]}, pendingCH=DefaultConsistentHash{ns=60, owners = (4)[NodeI-11719: 15+15, NodeJ-4803: 15+15, NodeK-58683: 15+15, NodeL-10033: 15+15]}, unionCH=null, actualMembers=[NodeI-11719, NodeJ-4803, NodeK-58683, NodeL-10033]}
      17:22:35,643 INFO  (remote-thread-NodeI-p45498-t6:[]) [CLUSTER] ISPN000336: Finished cluster-wide rebalance for cache ___defaultcache, topology id = 3
      17:22:37,630 ERROR (testng-RebalancePolicyJmxTest:[]) [UnitTestTestNGListener] Test testJoinAndLeaveWithRebalanceSuspended(org.infinispan.statetransfer.RebalancePolicyJmxTest) failed.
      java.lang.AssertionError: expected:<IN_PROGRESS> but was:<COMPLETE>
      	at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:101) ~[testng-6.8.8.jar:?]
      	at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:108) ~[testng-6.8.8.jar:?]
      	at org.infinispan.statetransfer.RebalancePolicyJmxTest.doTest(RebalancePolicyJmxTest.java:111) ~[test-classes/:?]
      	at org.infinispan.statetransfer.RebalancePolicyJmxTest.testJoinAndLeaveWithRebalanceSuspended(RebalancePolicyJmxTest.java:36) ~[test-classes/:?]
      

              dberinde@redhat.com Dan Berindei (Inactive)
              dberinde@redhat.com Dan Berindei (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: