java.lang.AssertionError: expected:<0> but was:<1>

Sonatype JIRA | Peter Lynch | 5 years ago
  1. 0

    Re: [powermock] PowerMock/Mockito stability

    Google Groups | 4 years ago | Johan Haleby
    java.lang.AssertionError: expected:<9999> but was:<6789>
  2. 0

    Tests failed and build findbugsmain failure.

    Google Groups | 4 years ago | Michael Clark
    java.lang.AssertionError: expected:<10> but was:<8>
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    [FALCON-1598] Flaky test : EntityManagerJerseyIT.testDuplicateDeleteCommands - ASF JIRA

    apache.org | 12 months ago
    java.lang.AssertionError: expected:<400> but was:<200>
  5. 0

    [FALCON-1598] Flaky test : EntityManagerJerseyIT.testDuplicateDeleteCommands - ASF JIRA

    apache.org | 11 months ago
    java.lang.AssertionError: expected:<400> but was:<200>

    5 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. java.lang.AssertionError

      expected:<0> but was:<1>

      at org.testng.Assert.fail()
    2. TestNG
      Assert.assertEquals
      1. org.testng.Assert.fail(Assert.java:89)
      2. org.testng.Assert.failNotEquals(Assert.java:489)
      3. org.testng.Assert.assertEquals(Assert.java:118)
      4. org.testng.Assert.assertEquals(Assert.java:365)
      5. org.testng.Assert.assertEquals(Assert.java:375)
      5 frames
    3. org.sonatype.nexus
      Nexus383SearchNGIT.disableEnableSearching
      1. org.sonatype.nexus.integrationtests.nexus383.Nexus383SearchNGIT.searchFor(Nexus383SearchNGIT.java:111)
      2. org.sonatype.nexus.integrationtests.nexus383.Nexus383SearchNGIT.disableEnableSearching(Nexus383SearchNGIT.java:194)
      2 frames