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

hadoop-hdfs-dev | Apache Jenkins Server | 2 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Hadoop-Hdfs-trunk-Java8 - Build # 60 - Failure

    hadoop-hdfs-dev | 2 years ago | Apache Jenkins Server
    java.lang.AssertionError: expected:<0> but was:<1>
  2. 0

    Unable to run tests on Ubuntu 12.04 LTS

    GitHub | 3 years ago | tophyr
    java.lang.AssertionError: expected:<0> but was:<1>
  3. 0

    [TEST-FAILURE] ListenerTest.replaceFiresUpdatedEvent

    GitHub | 3 years ago | bilalyasar
    java.lang.AssertionError: expected:<0> but was:<1>
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Fix flaky OkHttp test

    GitHub | 2 years ago | ejona86
    java.lang.AssertionError: expected:<0> but was:<1>
  6. 0

    GitHub comment 22#60865852

    GitHub | 2 years ago | xingfengshen
    java.lang.AssertionError: expected:<0> but was:<1>

  1. odd 1 times, last 6 days ago
  2. jf-ast 2 times, last 1 week ago
  3. rsprangemeijer 1 times, last 3 weeks ago
  4. aldrinleal 1 times, last 4 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:<0> but was:<1>

    at org.junit.Assert.fail()
  2. JUnit
    Assert.assertEquals
    1. org.junit.Assert.fail(Assert.java:88)
    2. org.junit.Assert.failNotEquals(Assert.java:743)
    3. org.junit.Assert.assertEquals(Assert.java:118)
    4. org.junit.Assert.assertEquals(Assert.java:555)
    5. org.junit.Assert.assertEquals(Assert.java:542)
    5 frames
  3. Apache Hadoop HDFS
    TestPendingReplication.testPendingAndInvalidate
    1. org.apache.hadoop.hdfs.server.blockmanagement.TestPendingReplication.testPendingAndInvalidate(TestPendingReplication.java:293)
    1 frame