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

Google Groups | Jenkins | 10 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

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

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

    Build failed in Jenkins: Platform-IntegrationTests #2338

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

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

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

    Automated exception search integrated into your IDE

  5. 0

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

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

    JTrac / Mailing Lists

    sourceforge.net | 1 year ago
    junit.framework.AssertionFailedError: expected:<1> but was:<0>

  1. tzrlk 2 times, last 7 months ago
8 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:<0>

    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