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

DeltaReplicationTest.testDeltasAreSent random failure

XMLWordPrintable

      java.util.ConcurrentModificationException
          at java.util.HashMap$HashIterator.nextEntry(HashMap.java:922)
          at java.util.HashMap$KeyIterator.next(HashMap.java:956)
          at org.infinispan.lucene.impl.DeltaReplicationTest.assertOnlyDeltasWereSent(DeltaReplicationTest.java:71)
          at org.infinispan.lucene.impl.DeltaReplicationTest.testDeltasAreSent(DeltaReplicationTest.java:66)
      

      Could be because the `InboundInvocationHandlerDecorator.writeCommands` set is accessed from multiple threads without synchronization.

      http://ci.infinispan.org/viewLog.html?buildId=12730&buildTypeId=bt9

            gfernand@redhat.com Gustavo Fernandes (Inactive)
            dberinde@redhat.com Dan Berindei (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: