Dan Berindei created ISPN-2685:
----------------------------------
Summary: TopologyAwareTwoNodesMapReduceTest.testCombinerDoesNotChangeResult
fails randomly
Key: ISPN-2685
URL:
https://issues.jboss.org/browse/ISPN-2685
Project: Infinispan
Issue Type: Feature Request
Components: Distributed Execution and Map/Reduce, Test Suite
Affects Versions: 5.2.0.Beta6
Reporter: Dan Berindei
Assignee: Vladimir Blagojevic
Fix For: 6.0.0.Final
TopologyAwareTwoNodesMapReduceTest.testCombinerDoesNotChangeResult fails randomly on my
machine, with this stacktrace:
{noformat}
java.lang.AssertionError
at
org.infinispan.distexec.mapreduce.BaseWordCountMapReduceTest.testCombinerDoesNotChangeResult(BaseWordCountMapReduceTest.java:217)
{noformat}
I think it's because it's comparing {{Integer}} objects with {{==}} instead of
{{equals()}}. Actually it would be best to use {{Assert.assertEquals()}}, I tried to find
the expected and actual values in the log but I wasn't able to.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira