Details
-
Bug
-
Resolution: Done
-
Major
-
10.0.1.Final
-
DataGrid Sprint #36, DataGrid Sprint #37, DataGrid Sprint #38, DataGrid Sprint #39
Description
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/:?]