java.lang.AssertionError

expected same:<com.hazelcast.partition.strategy.StringPartitioningStrategy@5a927881> was not:<com.hazelcast.partition.strategy.StringPartitioningStrategy@11bf4347>

Samebug tips1

Check your pattern declaration or check your assert declaration.


rafaelrafael

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web3567

  • via GitHub by hasancelik
    ,
  • via GitHub by hasancelik
    ,
  • Stack trace

    • java.lang.AssertionError: expected same:<com.hazelcast.partition.strategy.StringPartitioningStrategy@5a927881> was not:<com.hazelcast.partition.strategy.StringPartitioningStrategy@11bf4347> at org.junit.Assert.fail(Assert.java:88) at org.junit.Assert.failNotSame(Assert.java:828) at org.junit.Assert.assertSame(Assert.java:771) at org.junit.Assert.assertSame(Assert.java:782) at com.hazelcast.map.impl.PartitioningStrategyFactoryTest.whenStrategyForMapAlreadyDefined_getPartitioningStrategy_returnsSameInstance(PartitioningStrategyFactoryTest.java:93)

    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

    rsprangemeijerrsprangemeijer
    3 times, last one
    oddodd
    26 times, last one
    raytestraytest
    10 times, last one
    jf-astjf-ast
    Once,
    mauritiusmauritius
    Once,
    98 more bugmates