java.lang.AssertionError

expected same:<com.hazelcast.partition.strategy.StringPartitioningStrategy@1bf1ce4> was not:<com.hazelcast.partition.strategy.StringPartitioningStrategy@445d49e3>

Samebug tips1

Check your pattern declaration or check your assert declaration.

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

Solutions on the web6348

  • via GitHub by hasancelik
    , 10 months ago
    expected same:<com.hazelcast.partition.strategy.StringPartitioningStrategy@1bf1ce4> was not:<com.hazelcast.partition.strategy.StringPartitioningStrategy@445d49e3>
  • via GitHub by hasancelik
    , 10 months ago
    expected same:<com.hazelcast.partition.strategy.StringPartitioningStrategy@54bccadc> was not:<com.hazelcast.partition.strategy.StringPartitioningStrategy@35fdd8f2>
  • expected same:<com.hazelcast.partition.strategy.StringPartitioningStrategy@5a927881> was not:<com.hazelcast.partition.strategy.StringPartitioningStrategy@11bf4347>
  • Stack trace

    • java.lang.AssertionError: expected same:<com.hazelcast.partition.strategy.StringPartitioningStrategy@1bf1ce4> was not:<com.hazelcast.partition.strategy.StringPartitioningStrategy@445d49e3> 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

    3 times, 4 months ago
    26 times, 1 week ago
    2 times, 4 days ago
    10 times, 1 week ago
    Once, 1 week ago
    98 more bugmates