java.lang.AssertionError

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
tip

Check your pattern declaration or check your assert declaration.


rafael

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

  • Hadoop-Hdfs-trunk - Build # 2685 - Still Failing
    via by Apache Jenkins Server,
  • Hadoop-Hdfs-trunk - Build # 2711 - Still Failing
    via by Apache Jenkins Server,
  • Vert.x 3.0 update
    via by Tim Fox,
  • GitHub comment 142#157364518
    via GitHub by ahitrin
    ,
  • Hadoop-Yarn-trunk-Java8 - Build # 33 - Still Failing
    via by Apache Jenkins Server,
    • java.lang.AssertionError: expected:<1> but was:<2> at org.junit.Assert.fail(Assert.java:88) at org.junit.Assert.failNotEquals(Assert.java:743) at org.junit.Assert.assertEquals(Assert.java:118) at org.junit.Assert.assertEquals(Assert.java:555) at org.junit.Assert.assertEquals(Assert.java:542) at org.apache.hadoop.hdfs.shortcircuit.TestShortCircuitCache$17.accept(TestShortCircuitCache.java:633) at org.apache.hadoop.hdfs.server.datanode.ShortCircuitRegistry.visit(ShortCircuitRegistry.java:395) at org.apache.hadoop.hdfs.shortcircuit.TestShortCircuitCache.checkNumberOfSegmentsAndSlots(TestShortCircuitCache.java:628) at org.apache.hadoop.hdfs.shortcircuit.TestShortCircuitCache.testDataXceiverCleansUpSlotsOnFailure(TestShortCircuitCache.java:682)

    Users with the same issue

    osvzs
    1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor2 times, last one,
    andyglick
    9 times, last one,
    Unknown visitor1 times, last one,
    94 more bugmates