junit.framework.AssertionFailedError: expected:<6> but was:<4>

Apache's JIRA Issue Tracker | Robert Kanter | 4 years ago
  1. 0

    Hadoop 1.2.1 Release Notes

    apache.org | 3 months ago
    junit.framework.AssertionFailedError: expected:<6> but was:<4>
  2. 0

    Hadoop 1.2.1 Release Notes

    apache.org | 1 month ago
    junit.framework.AssertionFailedError: expected:<6> but was:<4>
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Hadoop 1.2.1 Release Notes

    apache.org | 1 year ago
    junit.framework.AssertionFailedError: expected:<6> but was:<4>
  5. 0

    JUnit integration tests should report HTTP request/response details

    Stack Overflow | 2 years ago | Alejandro
    junit.framework.AssertionFailedError: expected:&lt;200&gt; but was:&lt;404&gt;

  1. tzrlk 2 times, last 3 months ago
7 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. junit.framework.AssertionFailedError

    expected:<6> but was:<4>

    at junit.framework.Assert.fail()
  2. JUnit
    Assert.assertEquals
    1. junit.framework.Assert.fail(Assert.java:47)
    2. junit.framework.Assert.failNotEquals(Assert.java:283)
    3. junit.framework.Assert.assertEquals(Assert.java:64)
    4. junit.framework.Assert.assertEquals(Assert.java:195)
    5. junit.framework.Assert.assertEquals(Assert.java:201)
    5 frames
  3. Hadoop
    NotificationTestCase.testMR
    1. org.apache.hadoop.mapred.NotificationTestCase.testMR(NotificationTestCase.java:184)
    1 frame