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

HotRodMultiMapOperations random failures

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

XMLWordPrintable

      Multimap operations are asynchronous, and the test doesn't wait for the writes to finish before starting a get. Multimap and Infinispan in general do not guarantee that asynchronous operations started from the same thread run in any particular order.

      09:07:49,325 ERROR (testng-HotRodMultiMapOperations:[]) [TestSuiteProgress] Test failed: HotRodMultiMapOperations.testMultiMap
      java.lang.AssertionError: expected:<2> but was:<0>
      	at org.junit.Assert.fail(Assert.java:88) ~[junit-4.12.jar:4.12]
      	at org.junit.Assert.failNotEquals(Assert.java:834) ~[junit-4.12.jar:4.12]
      	at org.junit.Assert.assertEquals(Assert.java:645) ~[junit-4.12.jar:4.12]
      	at org.junit.Assert.assertEquals(Assert.java:631) ~[junit-4.12.jar:4.12]
      	at org.infinispan.server.functional.HotRodMultiMapOperations.testMultiMap(HotRodMultiMapOperations.java:41) ~[test-classes/:?]
      

              dberinde@redhat.com Dan Berindei (Inactive)
              dberinde@redhat.com Dan Berindei (Inactive)
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: