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

TestingUtil.waitForNoRebalanceAcrossManagers: do not start internal caches

    XMLWordPrintable

Details

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

    Description

      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)
      

      Attachments

        Activity

          People

            pruivo@redhat.com Pedro Ruivo
            pruivo@redhat.com Pedro Ruivo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: