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

Fix AsyncBackupTest.testClear test

XMLWordPrintable

      java.lang.AssertionError: Updated keys map is not empty in LON!
      	at org.infinispan.test.AbstractInfinispanTest.eventually(AbstractInfinispanTest.java:237)
      	at org.infinispan.test.AbstractInfinispanTest.eventually(AbstractInfinispanTest.java:253)
      	at org.infinispan.test.AbstractInfinispanTest.eventually(AbstractInfinispanTest.java:390)
      	at org.infinispan.xsite.AsyncBackupTest.assertNoDataLeak(AsyncBackupTest.java:297)
      	at org.infinispan.xsite.AsyncBackupTest.testClear(AsyncBackupTest.java:173)
      

      The issue is the org.infinispan.xsite.irac.DefaultIracManager#trackClear() is not removing the keys from the map.
      If sending is in progress when trackClear() is invoked, the discard() method is invoked; when the ack from the remote site is received, it finds out the state changed and never cleans the key from the map.

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

              Created:
              Updated:
              Resolved: