java.lang.AssertionError

the size of the collection is not correct: found-content:[Member [127.0.0.1]:5702 - bf5c0885-2e3e-4526-8b9a-e207ab13e479 this] expected:<2> but was:<1>

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 web8064

  • via GitHub by hasancelik
    , 9 months ago
    the size of the collection is not correct: found-content:[Member [127.0.0.1]:5702 - bf5c0885-2e3e-4526-8b9a-e207ab13e479 this] expected:<2> but was:<1>
  • the size of the collection is not correct: found-content:[Member [127.0.0.1]:5702 - 4471b56a-195e-4443-b4bf-a25c9375051a this] expected:<2> but was:<1>
  • via GitHub by hasancelik
    , 1 year ago
    the size of the collection is not correct: found-content:[Member [127.0.0.1]:8248, Member [127.0.0.1]:8249 this, Member [127.0.0.1]:8250] expected:<2> but was:<3>
  • Stack trace

    • java.lang.AssertionError: the size of the collection is not correct: found-content:[Member [127.0.0.1]:5702 - bf5c0885-2e3e-4526-8b9a-e207ab13e479 this] expected:<2> but was:<1> 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.test.HazelcastTestSupport$6.run(HazelcastTestSupport.java:709) at com.hazelcast.test.HazelcastTestSupport.assertTrueEventually(HazelcastTestSupport.java:905) at com.hazelcast.test.HazelcastTestSupport.assertSizeEventually(HazelcastTestSupport.java:706) at com.hazelcast.test.HazelcastTestSupport.assertSizeEventually(HazelcastTestSupport.java:702) at com.hazelcast.client.ConnectedClientOperationTest.testNumberOfConnectedClients(ConnectedClientOperationTest.java:45)

    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, 3 weeks ago
    4 times, 2 months ago
    3 times, 2 months ago
    74 times, 3 months ago
    3 times, 6 months ago
    98 more bugmates