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

Fix ClusterListenerReplTest#testPrimaryOwnerGoesDownBeforeBackupRaisesEvent random failures

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

XMLWordPrintable

      The test testPrimaryOwnerGoesDownBeforeBackupRaisesEvent will fail randomly causing false positives in the test suite.

      An example is as such https://ci.infinispan.org/job/Infinispan/job/main/1242/testReport/org.infinispan.notifications.cachelistener.cluster/ClusterListenerReplTest/testPrimaryOwnerGoesDownBeforeBackupRaisesEvent__Flaky_Test_/

      java.lang.AssertionError: expected:<CACHE_ENTRY_MODIFIED> but was:<CACHE_ENTRY_CREATED> at org.infinispan.notifications.cachelistener.cluster.AbstractClusterListenerNonTxTest.checkEvent(AbstractClusterListenerNonTxTest.java:88) at org.infinispan.notifications.cachelistener.cluster.ClusterListenerReplTest.testPrimaryOwnerGoesDownBeforeBackupRaisesEvent(ClusterListenerReplTest.java:69) at org.infinispan.commons.test.TestNGLongTestsHook.run(TestNGLongTestsHook.java:24) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) at java.base/java.lang.Thread.run(Thread.java:1583)

              wburns@redhat.com Will Burns
              wburns@redhat.com Will Burns
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: