java.lang.AssertionError: expected:<[cat,zebra, cat,donkey, dog,bird]> but was:<[bird,bird, zebra,zebra, horse,horse, donkey,donkey]>

incubator-crunch-user | Micah Whitacre | 4 years 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

    Re: Viewing intermediate states for debugging

    incubator-crunch-user | 4 years ago | Micah Whitacre
    java.lang.AssertionError: expected:<[cat,zebra, cat,donkey, dog,bird]> but was:<[bird,bird, zebra,zebra, horse,horse, donkey,donkey]>
  2. 0

    Re: Viewing intermediate states for debugging

    incubator-crunch-user | 4 years ago | Micah Whitacre
    java.lang.AssertionError: expected:<[cat,zebra, cat,donkey, dog,bird]> but was:<[bird,bird, zebra,zebra, horse,horse, donkey,donkey]>
  3. 0

    TcpClientTests.tcpClientHandlesLineFeedData fails intermittently

    GitHub | 4 years ago | wilkinsona
    java.lang.AssertionError: expected:<[Hello World!, Hello World!, Hello World!]> but was:<[Hello World!, Hello World!, , Hello World!]>
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Failed tests: testTimestampDeSerializeNumericTimestampWithNanoseconds(org.openx.data.jsonserde.JsonSerDeTimeStampTest)

    GitHub | 3 years ago | bretthoerner
    java.lang.AssertionError: expected:<2013-05-05 19:58:45.0> but was:<2013-05-05 17:58:45.0>
  6. 0

    junit testing equality of an Iterable

    Stack Overflow | 4 years ago | damon
    java.lang.AssertionError: expected: std.Queue&lt;A C E H M R S X &gt; but was: std.Queue&lt;A C E H M R S X &gt;

  1. odd 1 times, last 2 days ago
  2. jf-ast 2 times, last 4 days ago
  3. rsprangemeijer 1 times, last 3 weeks ago
  4. aldrinleal 1 times, last 3 weeks ago
  5. treefolk 3 times, last 2 months ago
8 more registered users
33 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:<[cat,zebra, cat,donkey, dog,bird]> but was:<[bird,bird, zebra,zebra, horse,horse, donkey,donkey]>

    at org.junit.Assert.fail()
  2. JUnit
    Assert.assertEquals
    1. org.junit.Assert.fail(Assert.java:93)
    2. org.junit.Assert.failNotEquals(Assert.java:647)
    3. org.junit.Assert.assertEquals(Assert.java:128)
    4. org.junit.Assert.assertEquals(Assert.java:147)
    4 frames