java.lang.AssertionError: The Near Cache is empty, there should be no owned entry memory costs expected:<0> but was:<81>

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.

  • GitHub comment 9333#266670732
    via GitHub by hasancelik
    ,
  • GitHub comment 183#77323698
    via GitHub by smarthi
    ,
  • GitHub comment 51#125303049
    via GitHub by bermud
    ,
    • java.lang.AssertionError: The Near Cache is empty, there should be no owned entry memory costs expected:<0> but was:<81> 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 com.hazelcast.internal.nearcache.AbstractBasicNearCacheTest.testNearCacheMemoryCostCalculation(AbstractBasicNearCacheTest.java:386) at com.hazelcast.internal.nearcache.AbstractBasicNearCacheTest.testNearCacheMemoryCostCalculation(AbstractBasicNearCacheTest.java:335) 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:606) 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.run(FutureTask.java:262) at java.lang.Thread.run(Thread.java:745)

    Users with the same issue

    pulse00
    pulse004 times, last one,
    jf-ast
    jf-ast3 times, last one,
    Dunmer
    Dunmer74 times, last one,
    MoYapro
    MoYapro3 times, last one,
    richard77
    richard771 times, last one,
    94 more bugmates