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

CacheManagerAdminSharedPermanentTest.testClusterCacheTest random failure

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Major
    • None
    • 9.2.0.Final
    • Test Suite
    • None

    Description

      The test has failed randomly once that I have seen thus far. My guess is that the node hasn't had time to fully join the cache view. We may have to add a wait to ensure the cache views are consistent.

      Something like

      TestingUtil.blockUntilViewsReceived(60000, false, caches);
      TestingUtil.waitForNoRebalance(caches);
      

      https://ci.infinispan.org/job/Infinispan/job/PR-5845/2/testReport/junit/org.infinispan.manager/CacheManagerAdminSharedPermanentTest/testClusterCacheTest/

      Stack trace just in case we lose the history

            java.lang.AssertionError: expected:<2> but was:<1>
      	at org.infinispan.manager.CacheManagerAdminTest.checkConsistencyAcrossCluster(CacheManagerAdminTest.java:85)
      	at org.infinispan.manager.CacheManagerAdminPermanentTest.testClusterCacheTest(CacheManagerAdminPermanentTest.java:80)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      	at java.lang.Thread.run(Thread.java:748)
      ... Removed 21 stack frames
      

      Attachments

        Issue Links

          Activity

            People

              ttarrant@redhat.com Tristan Tarrant
              wburns@redhat.com Will Burns
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: