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

TestingUtil.waitForNoRebalanceAcrossManagers: do not start internal caches

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 10.1.4.Final, 11.0.0.Dev03
    • 10.1.3.Final, 11.0.0.Alpha2
    • Test Suite
    • None

      TestingUtil.waitForNoRebalanceAcrossManagers() lookups all caches (including internal) to make sure no rebalance is in progress.
      However, it is starting the internal caches while it isn't needed. It is the case for the counter's cache:

      java.lang.RuntimeException: Cache org.infinispan.COUNTER timed out waiting for rebalancing to complete on node HotRodMergeTest-NodeA-42156, expected member list is [HotRodMergeTest-NodeA-42156, HotRodMergeTest-NodeB-64259], current member list is [HotRodMergeTest-NodeB-64259]!
      at org.infinispan.test.TestingUtil.waitForNoRebalance(TestingUtil.java:429)
      at org.infinispan.test.TestingUtil.waitForNoRebalanceAcrossManagers(TestingUtil.java:449)
      at org.infinispan.server.hotrod.HotRodMergeTest.testNewTopologySentAfterOverlappingMerge(HotRodMergeTest.java:114)
      

              pruivo@redhat.com Pedro Ruivo
              pruivo@redhat.com Pedro Ruivo
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: