[infinispan-issues] [JBoss JIRA] (ISPN-2685) TopologyAwareTwoNodesMapReduceTest.testCombinerDoesNotChangeResult fails randomly

Dan Berindei (JIRA) jira-events at lists.jboss.org
Fri Jan 18 02:18:21 EST 2013


     [ https://issues.jboss.org/browse/ISPN-2685?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Berindei updated ISPN-2685:
-------------------------------

    Issue Type: Bug  (was: Feature Request)

    
> 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
>             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


More information about the infinispan-issues mailing list