java.lang.AssertionError: Received event count is 0 but it is expected to be at least 10

GitHub | sancar | 3 months 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

    *.testListenersNonSmartRoutingTerminateRandomNode

    GitHub | 4 months ago | hasancelik
    java.lang.AssertionError: Received event count is 0 but it is expected to be at least 10
  2. 0

    GitHub comment 9803#279144402

    GitHub | 3 months ago | sancar
    java.lang.AssertionError: Received event count is 0 but it is expected to be at least 10
  3. 0

    SetItemListenerOnReconnectTest.testListenersNonSmartRoutingMultipleServer

    GitHub | 3 months ago | hasancelik
    java.lang.AssertionError: Received event count is 0 but it is expected to stay at 10 expected:<10> but was:<0>
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    testClusterReconnectDueToHeartbeatNonSmartRouting

    GitHub | 4 months ago | sancar
    java.lang.AssertionError: Received event count is 2 but it is expected to be at least 10
  6. 0

    GitHub comment 8254#287748330

    GitHub | 2 months ago | hasancelik
    org.junit.runners.model.TestTimedOutException: test timed out after 300000 milliseconds
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

    Received event count is 0 but it is expected to be at least 10

    at org.junit.Assert.fail()
  2. JUnit
    Assert.assertTrue
    1. org.junit.Assert.fail(Assert.java:88)
    2. org.junit.Assert.assertTrue(Assert.java:41)
    2 frames
  3. com.hazelcast.client
    AbstractListenersOnReconnectTest$9.run
    1. com.hazelcast.client.listeners.AbstractListenersOnReconnectTest$9.run(AbstractListenersOnReconnectTest.java:513)
    1 frame
  4. com.hazelcast.test
    HazelcastTestSupport.assertTrueEventually
    1. com.hazelcast.test.HazelcastTestSupport.assertTrueEventually(HazelcastTestSupport.java:967)
    2. com.hazelcast.test.HazelcastTestSupport.assertTrueEventually(HazelcastTestSupport.java:984)
    2 frames
  5. com.hazelcast.client
    AbstractListenersOnReconnectTest.testListenersNonSmartRoutingTerminateRandomNode
    1. com.hazelcast.client.listeners.AbstractListenersOnReconnectTest.validateListenerFunctionality(AbstractListenersOnReconnectTest.java:509)
    2. com.hazelcast.client.listeners.AbstractListenersOnReconnectTest.validateRegistrationsAndListenerFunctionality(AbstractListenersOnReconnectTest.java:468)
    3. com.hazelcast.client.listeners.AbstractListenersOnReconnectTest.testListenersTerminateRandomNode(AbstractListenersOnReconnectTest.java:108)
    4. com.hazelcast.client.listeners.AbstractListenersOnReconnectTest.testListenersNonSmartRoutingTerminateRandomNode(AbstractListenersOnReconnectTest.java:72)
    4 frames
  6. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:498)
    4 frames
  7. JUnit
    InvokeMethod.evaluate
    1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
    2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
    3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
    4. org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
    4 frames
  8. com.hazelcast.test
    FailOnTimeoutStatement$CallableStatement.call
    1. com.hazelcast.test.FailOnTimeoutStatement$CallableStatement.call(FailOnTimeoutStatement.java:89)
    2. com.hazelcast.test.FailOnTimeoutStatement$CallableStatement.call(FailOnTimeoutStatement.java:81)
    2 frames
  9. Java RT
    Thread.run
    1. java.util.concurrent.FutureTask.run(FutureTask.java:266)
    2. java.lang.Thread.run(Thread.java:745)
    2 frames