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 JIRA by Calvin Jia, 1 year ago
expected:<110> but was:<0>
via JIRA by Calvin Jia, 2 years ago
expected:<110> but was:<0>
via GitHub by Frank-Bradley
, 2 years ago
i: 0 expected: but was:
via Google Groups by Peter Firmstone, 11 months ago
expected:<0> but was:<3>
via GitHub by hasancelik
, 1 year ago
expected:<0> but was:<1000>
via GitHub by IngvarJackal
, 4 months ago
expected:<[0, 3, 4, 4]> but was:<[0, 3]>
java.lang.AssertionError: expected:<110> but was:<0> at at org.junit.Assert.failNotEquals( at org.junit.Assert.assertEquals( at org.junit.Assert.assertEquals( at tachyon.master.MasterFaultToleranceTest.faultTestDataCheck( at tachyon.master.MasterFaultToleranceTest.faultTest(