java.lang.AssertionError

expected:<1> but was:<0>

Samebug tips1

Check your pattern declaration or check your assert declaration.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web6611

  • expected:<0> but was:<1>
  • expected:<0> but was:<1>
  • expected:<0> but was:<1>
  • Stack trace

    • java.lang.AssertionError: expected:<1> but was:<0> at org.junit.Assert.fail(Assert.java:88) at org.junit.Assert.failNotEquals(Assert.java:834) at org.junit.Assert.assertEquals(Assert.java:645) at org.junit.Assert.assertEquals(Assert.java:631) at io.confluent.connect.elasticsearch.BulkProcessorTest.testBatchFailure(BulkProcessorTest.java:141)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    2 times, 1 month ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    2 times, 14 hours ago
    4 times, 1 week ago
    98 more bugmates