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

Google Groups | Jenkins | 11 months ago
tip
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

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

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

    Build failed in Jenkins: Platform-IntegrationTests #2338

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

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

    Google Groups | 9 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 | 9 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. odd 3 times, last 1 month ago
  2. tzrlk 2 times, last 9 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