[infinispan-issues] [JBoss JIRA] (ISPN-2685) TopologyAwareTwoNodesMapReduceTest.testCombinerDoesNotChangeResult fails randomly
Anna Manukyan (JIRA)
jira-events at lists.jboss.org
Wed Jan 23 09:34:47 EST 2013
[ https://issues.jboss.org/browse/ISPN-2685?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Anna Manukyan closed ISPN-2685.
-------------------------------
Fix Version/s: (was: 6.0.0.Final)
Resolution: Duplicate Issue
This issue is related to ISPN-2715 and is fixed already. The pull request is sent.
> TopologyAwareTwoNodesMapReduceTest.testCombinerDoesNotChangeResult fails randomly
> ---------------------------------------------------------------------------------
>
> Key: ISPN-2685
> URL: https://issues.jboss.org/browse/ISPN-2685
> Project: Infinispan
> Issue Type: Bug
> Components: Distributed Execution and Map/Reduce, Test Suite
> Affects Versions: 5.2.0.Beta6
> Reporter: Dan Berindei
> Assignee: Vladimir Blagojevic
> Labels: testsuite_stability
>
> 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
More information about the infinispan-issues
mailing list