]
Katia Aresti updated ISPN-10911:
--------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
HotRodMultiMapOperations random failures
----------------------------------------
Key: ISPN-10911
URL:
https://issues.jboss.org/browse/ISPN-10911
Project: Infinispan
Issue Type: Bug
Components: Test Suite - Server
Affects Versions: 10.0.1.Final
Reporter: Dan Berindei
Assignee: Dan Berindei
Priority: Major
Labels: testsuite_stability
Fix For: 10.1.0.Beta1
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.
{noformat}
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/:?]
{noformat}