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

GitHub | jerrinot | 2 months 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

    CachedExecutorServiceDelegateTest shutdownNow()

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

    [jira] [Updated] (HDFS-5666) TestBPOfferService#/testBPInitErrorHandling fails intermittently

    hadoop-hdfs-issues | 3 years ago | Jimmy Xiang (JIRA)
    java.lang.AssertionError: expected:<1> but was:<2>
  3. 0

    [jira] [Assigned] (HDFS-5666) TestBPOfferService#/testBPInitErrorHandling fails intermittently

    hadoop-hdfs-issues | 3 years ago | Jimmy Xiang (JIRA)
    java.lang.AssertionError: expected:<1> but was:<2>
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [jira] [Commented] (HDFS-5666) TestBPOfferService#/testBPInitErrorHandling fails intermittently

    hadoop-hdfs-issues | 3 years ago | Jimmy Xiang (JIRA)
    java.lang.AssertionError: expected:<1> but was:<2>
  6. 0

    [jira] [Commented] (HDFS-5666) TestBPOfferService#/testBPInitErrorHandling fails intermittently

    hadoop-hdfs-issues | 3 years ago | Hadoop QA (JIRA)
    java.lang.AssertionError: expected:<1> but was:<2>

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

    at org.junit.Assert.fail()
  2. JUnit
    Assert.assertEquals
    1. org.junit.Assert.fail(Assert.java:88)
    2. org.junit.Assert.failNotEquals(Assert.java:834)
    3. org.junit.Assert.assertEquals(Assert.java:645)
    4. org.junit.Assert.assertEquals(Assert.java:631)
    4 frames
  3. Hazelcast
    CachedExecutorServiceDelegateTest.shutdownNow
    1. com.hazelcast.util.executor.CachedExecutorServiceDelegateTest.shutdownNow(CachedExecutorServiceDelegateTest.java:294)
    1 frame