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


Samebug tips1

Check your pattern declaration or check your assert declaration.


7 months ago
Expert tip

Solutions on the web2969

Solution icon of github
via GitHub by sancar
, 8 months ago
Received event count is 0 but it is expected to be at least 10

Solution icon of github
Received event count is 0 but it is expected to be at least 10

Solution icon of github
Received event count is 2 but it is expected to be at least 10

Solution icon of github
Received event count is 0 but it is expected to stay at 10 expected:<10> but was:<0>

Solution icon of github
via GitHub by hasancelik
, 1 year ago
activeHandlerEvent count should be at least 1000, but was:0

Solution icon of googlegroups
Number of scheduled jobs should be at least 4 but is 3 expected:<true> but was:<false>

Solution icon of github
activeHandlerEvent count should be at least 1000, but was:50

Solution icon of github
via GitHub by hasancelik
, 1 year ago
activeHandlerEvent count should be at least 1000, but was:3

Solution icon of github
Number of account is wrong expected:<0> but was:<10>

Solution icon of github
Hit count is 0 but 2 was expected. Total shards: 5 Successful shards: 5 & 0 shard failures: at __randomizedtesting.SeedInfo.seed([23CD52CEE15D72:16F64B1793B3F5AC]:0)

Stack trace

java.lang.AssertionError: Received event count is 0 but it is expected to be at least 10
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at com.hazelcast.client.listeners.AbstractListenersOnReconnectTest$9.run(AbstractListenersOnReconnectTest.java:513)
	at com.hazelcast.test.HazelcastTestSupport.assertTrueEventually(HazelcastTestSupport.java:967)
	at com.hazelcast.test.HazelcastTestSupport.assertTrueEventually(HazelcastTestSupport.java:984)
	at com.hazelcast.client.listeners.AbstractListenersOnReconnectTest.validateListenerFunctionality(AbstractListenersOnReconnectTest.java:509)
	at com.hazelcast.client.listeners.AbstractListenersOnReconnectTest.validateRegistrationsAndListenerFunctionality(AbstractListenersOnReconnectTest.java:468)
	at com.hazelcast.client.listeners.AbstractListenersOnReconnectTest.testListenersTerminateRandomNode(AbstractListenersOnReconnectTest.java:108)
	at com.hazelcast.client.listeners.AbstractListenersOnReconnectTest.testListenersNonSmartRoutingTerminateRandomNode(AbstractListenersOnReconnectTest.java:72)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at com.hazelcast.test.FailOnTimeoutStatement$CallableStatement.call(FailOnTimeoutStatement.java:89)
	at com.hazelcast.test.FailOnTimeoutStatement$CallableStatement.call(FailOnTimeoutStatement.java:81)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.lang.Thread.run(Thread.java:745)

Write tip

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

Users with the same issue

5 times, 4 days ago
2 times, 1 month ago
2 times, 3 months ago
13 times, 3 months ago
2 times, 5 months ago
105 more bugmates