java.lang.AssertionError: connection removed should be called only once expected:<1> but was:<2>

GitHub | hasancelik | 4 months ago
  1. 0

    ClientConnectionTest.destroyConnection_whenDestroyedMultipleTimes_thenListenerRemoveCalledOnce

    GitHub | 4 months ago | hasancelik
    java.lang.AssertionError: connection removed should be called only once expected:<1> but was:<2>
  2. 0

    GitHub comment 8702#249796511

    GitHub | 2 months ago | hasancelik
    java.lang.AssertionError: connection removed should be called only once expected:<1> but was:<2>
  3. 0

    TabularToRelationalTest.sampleCsvFilePasses failed (master branch)

    GitHub | 2 years ago | hanecak
    java.lang.AssertionError: Sample CSV should contain 11 entries! expected:<11> but was:<0>
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [TEST-FAILURE] QueueSplitBrainTest.testQueueSplitBrain

    GitHub | 2 years ago | bilalyasar
    java.lang.AssertionError: the size of the cluster is not correct expected:<3> but was:<2>
  6. 0

    NoSQLUnit MongoDB no results after @UsingDataSet

    Stack Overflow | 1 year ago | Johanneke
    java.lang.AssertionError: Incorrect number of item access logs found. expected:<2> but was:<0>

  1. fervidnerd 3 times, last 1 week ago
  2. davidvanlaatum 1 times, last 2 weeks ago
  3. andyglick 9 times, last 8 months ago
  4. WoodenDoors 3 times, last 9 months ago
  5. davidvanlaatum 103 times, last 9 months ago
32 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

    connection removed should be called only once expected:<1> but was:<2>

    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)
    3 frames
  3. hazelcast-client
    ClientConnectionTest.destroyConnection_whenDestroyedMultipleTimes_thenListenerRemoveCalledOnce
    1. com.hazelcast.client.ClientConnectionTest.destroyConnection_whenDestroyedMultipleTimes_thenListenerRemoveCalledOnce(ClientConnectionTest.java:139)
    1 frame