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

MuleSoft JIRA | Andrew Cooke | 10 years ago
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    On-device test failure: "IllegalStateException: attempt to use Deflater after calling end"

    GitHub | 3 years ago | swankjesse
    junit.framework.AssertionFailedError: expected:<1> but was:<2>
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Tests fail, can't make this work

    GitHub | 2 years ago | optimuspaul
    junit.framework.AssertionFailedError: expected:<200> but was:<404>
  4. 0

    testExcessiveCheckpointingDuringPushReplication failed(should be isolates/fixed?)

    GitHub | 2 years ago | andreibaranouski
    junit.framework.AssertionFailedError: expected:<6f23713a-9211-4358-9499-ac008655854f> but was:<0b414cd9-ee14-4612-92fb-d793ceb26255>

  1. tzrlk 2 times, last 6 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:<4> but was:<3>

    at junit.framework.Assert.fail()
  2. JUnit
    1. junit.framework.Assert.fail(Assert.java:47)
    2. junit.framework.Assert.failNotEquals(Assert.java:280)
    3. junit.framework.Assert.assertEquals(Assert.java:64)
    4. junit.framework.Assert.assertEquals(Assert.java:133)
    5. junit.framework.Assert.assertEquals(Assert.java:139)
    5 frames
  3. org.mule.providers
    1. org.mule.providers.quartz.QuartzFunctionalTestCase.testMuleReceiverJob(QuartzFunctionalTestCase.java:31)
    1 frame
  4. Java RT
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    1 frame