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

hadoop-hdfs-dev | Apache Jenkins Server | 2 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

    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 | 3 years ago | xingfengshen
    java.lang.AssertionError: expected:<0> but was:<1>

  1. odd 1 times, last 6 days ago
  2. osvzs 2 times, last 6 days ago
  3. pulse00 1 times, last 6 days ago
  4. bernardpaulus 1 times, last 7 days ago
  5. Victor_IT 2 times, last 1 week ago
18 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