Recommended solutions based on your search

Samebug tips

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.

java.lang.AssertionError: CountDownLatch failed to complete within 120 seconds , count left: 3 at org.junit.Assert.fail(Assert.java:88) at org.junit.Assert.assertTrue(Assert.java:41) at com.hazelcast.test.HazelcastTestSupport.assertOpenEventually(HazelcastTestSupport.java:791) at com.hazelcast.test.HazelcastTestSupport.assertOpenEventually(HazelcastTestSupport.java:784) at com.hazelcast.test.HazelcastTestSupport.assertOpenEventually(HazelcastTestSupport.java:776) at com.hazelcast.internal.partition.GracefulShutdownTest.shutdownMultipleMembers(GracefulShutdownTest.java:246) at com.hazelcast.internal.partition.GracefulShutdownTest.shutdownMultipleMembers_withPartitionInitialization(GracefulShutdownTest.java:224)