expected:<6> but was:<4>

Solutions on the web1635

Stack trace

  • junit.framework.AssertionFailedError: expected:<6> but was:<4> at junit.framework.Assert.fail(Assert.java:47) at junit.framework.Assert.failNotEquals(Assert.java:283) at junit.framework.Assert.assertEquals(Assert.java:64) at junit.framework.Assert.assertEquals(Assert.java:195) at junit.framework.Assert.assertEquals(Assert.java:201) at org.apache.hadoop.mapred.NotificationTestCase.testMR(NotificationTestCase.java:184)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

3 times, 3 months ago
Unknown user
Once, 4 months ago
Unknown user
Once, 10 months ago
2 times, 10 months ago
Unknown user
Once, 1 year ago
27 more bugmates