Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,

    My guess is there is some kind of static state in the code being tested or in the test itself, so the tests aren't isolated. Adding the test changes the test order. In any case, your best course of action is to use the debugger to see why the tests fail.

  2. ,

    Check your assert declaration and the method implementation with the condition.

Solutions on the web

via incubator-crunch-user by Micah Whitacre, 1 year ago
expected:<[cat,zebra, cat,donkey, dog,bird]> but was:<[bird,bird, zebra,zebra, horse,horse, donkey,donkey]>
via incubator-crunch-user by Micah Whitacre, 10 months ago
expected:<[cat,zebra, cat,donkey, dog,bird]> but was:<[bird,bird, zebra,zebra, horse,horse, donkey,donkey]>
via incubator-crunch-user by Micah Whitacre, 10 months ago
expected:<[cat,zebra, cat,donkey, dog,bird]> but was:<[bird,bird, zebra,zebra, horse,horse, donkey,donkey]>
via incubator-crunch-user by Whitacre,Micah, 1 year ago
expected:<[cat,zebra, cat,donkey, dog,bird]> but was:<[bird,bird, zebra,zebra, horse,horse, donkey,donkey]>
via incubator-crunch-user by Josh Wills, 10 months ago
expected:<[cat,zebra, cat,donkey, dog,bird]> but was:<[bird,bird, zebra,zebra, horse,horse, donkey,donkey]>
via incubator-crunch-user by Whitacre,Micah, 2 years ago
expected:<[cat,zebra, cat,donkey, dog,bird]> but was:<[bird,bird, zebra,zebra, horse,horse, donkey,donkey]>
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(Assert.java:93)	at org.junit.Assert.failNotEquals(Assert.java:647)	at org.junit.Assert.assertEquals(Assert.java:128)	at org.junit.Assert.assertEquals(Assert.java:147)	at org.apache.crunch.io.hbase.WordCountHBaseIT.run(WordCountHBaseIT.java:257)	at org.apache.crunch.io.hbase.WordCountHBaseIT.testWordCount(WordCountHBaseIT.java:202)