junit.framework.AssertionFailedError: expected:<1> but was:<2>

Google Groups | Jenkins | 4 months ago
  1. 0

    Build failed in Jenkins: Platform-IntegrationTests-PostgreSQL #619

    Google Groups | 4 months ago | Jenkins
    junit.framework.AssertionFailedError: expected:<1> but was:<2>
  2. 0

    Build failed in Jenkins: Platform-IntegrationTests-PostgreSQL #629

    Google Groups | 4 months ago | Jenkins
    junit.framework.AssertionFailedError: expected:<1> but was:<2>
  3. 0

    Build failed in Jenkins: Platform-IntegrationTests-PostgreSQL #560

    Google Groups | 6 months ago | Jenkins
    junit.framework.AssertionFailedError: expected:<1> but was:<0>
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Build failed in Jenkins: Platform-IntegrationTests #2338

    Google Groups | 3 months ago | Jenkins
    junit.framework.AssertionFailedError: expected:<1> but was:<0>
  6. 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>

  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:<1> but was:<2>

    at junit.framework.Assert.fail()
  2. JUnit
    Assert.assertEquals
    1. junit.framework.Assert.fail(Assert.java:57)
    2. junit.framework.Assert.failNotEquals(Assert.java:329)
    3. junit.framework.Assert.assertEquals(Assert.java:78)
    4. junit.framework.Assert.assertEquals(Assert.java:234)
    5. junit.framework.Assert.assertEquals(Assert.java:241)
    5 frames
  3. org.motechproject.event
    ServerEventRelayBundleIT.shouldNotTriggerAllListenersWhenOneListenerFails
    1. org.motechproject.event.it.ServerEventRelayBundleIT.shouldNotTriggerAllListenersWhenOneListenerFails(ServerEventRelayBundleIT.java:104)
    1 frame