Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-2685

TopologyAwareTwoNodesMapReduceTest.testCombinerDoesNotChangeResult fails randomly

XMLWordPrintable

      TopologyAwareTwoNodesMapReduceTest.testCombinerDoesNotChangeResult fails randomly on my machine, with this stacktrace:

      java.lang.AssertionError
      	at org.infinispan.distexec.mapreduce.BaseWordCountMapReduceTest.testCombinerDoesNotChangeResult(BaseWordCountMapReduceTest.java:217)
      

      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.

            vblagoje Vladimir Blagojevic (Inactive)
            dberinde@redhat.com Dan Berindei (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: