Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,
    Expert tip

    Check your pattern declaration or check your assert declaration.

  2. ,

    My guess is there is some kind of static state in the code being tested or in the test itself, so the tests aren't isolated. Adding the test changes the test order. In any case, your best course of action is to use the debugger to see why the tests fail.

Solutions on the web

via GitHub by hasancelik
, 1 year 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>
via GitHub by Donnerbart
, 1 year ago
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
, 2 years 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>
via GitHub by hasancelik
, 1 year ago
the size of the collection is not correct: found-content:[Member [127.0.0.1]:9806, Member [127.0.0.1]:9808 this, Member [127.0.0.1]:9810] expected:<2> but was:<3>
via GitHub by dosumis
, 1 year ago
expected:<2> but was:<0>
via hadoop-hdfs-issues by Jimmy Xiang (JIRA), 2 years ago
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)