java.lang.AssertionError: Expected :11.0 Actual :22.0 <Click to see difference>

tip

Check your pattern declaration or check your assert declaration.


rafael

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

  • Unit tests fail for Eureka
    via GitHub by larry13767
    ,
  • RxRingBuffer test fails
    via GitHub by tomrozb
    ,
    • java.lang.AssertionError: Expected :11.0 Actual :22.0 <Click to see difference> at org.junit.Assert.fail(Assert.java:88) at org.junit.Assert.failNotEquals(Assert.java:834) at org.junit.Assert.assertEquals(Assert.java:575) at org.junit.Assert.assertEquals(Assert.java:700) at com.hazelcast.scheduledexecutor.ScheduledExecutorServiceBasicTest.scheduleRandomPartitions_getAllScheduled(ScheduledExecutorServiceBasicTest.java:785) 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)

    Users with the same issue

    Axelo
    Axelo2 times, last one,
    jf-ast
    jf-ast1 times, last one,
    odd
    odd17 times, last one,
    rocday
    rocday1 times, last one,
    andyglick
    andyglick2 times, last one,
    94 more bugmates