java.lang.AssertionError: expected:<6> but was:<5>


Solutions on the web

Solution icon of github
expected:<6> but was:<5>

Solution icon of github
via GitHub by SyCode7
, 8 months ago
expected:<5> but was:<6>

Solution icon of github
expected:<6> but was:<5>

Solution icon of github
via GitHub by LuciferYang
, 6 months ago
expected:<6> but was:<5>

Solution icon of github
via GitHub by LuciferYang
, 1 year ago
expected:<6> but was:<5>

Solution icon of github
via GitHub by playedinane
, 1 year ago
expected:<6> but was:<5>

Solution icon of spring
via Spring JIRA by Andy Wilkinson, 1 year ago
expected:<5> but was:<6>

Solution icon of github
via GitHub by jpatanooga
, 1 year ago
expected:<5> but was:<6>

Solution icon of github
expected:<6> but was:<5>

Solution icon of spring
via Spring JIRA by Andy Wilkinson, 1 year ago
expected:<5> but was:<6>

Stack trace

java.lang.AssertionError: expected:<6> but was:<5>
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failNotEquals(Assert.java:834)
	at org.junit.Assert.assertEquals(Assert.java:645)
	at org.junit.Assert.assertEquals(Assert.java:631)
	at com.hazelcast.scheduledexecutor.ScheduledExecutorServiceTest.stats_manyRepetitionsTask(ScheduledExecutorServiceTest.java:209)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:622)
	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:88)
	at com.hazelcast.test.FailOnTimeoutStatement$CallableStatement.call(FailOnTimeoutStatement.java:82)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
	at java.lang.Thread.run(Thread.java:701)

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

Once, 2 weeks ago
Samebug visitor profile picture
Unknown user
Once, 3 weeks ago
Samebug visitor profile picture
Unknown user
Once, 3 weeks ago
22 times, 4 weeks ago
Once, 1 month ago
105 more bugmates