public void testTenNodes1111Partitions() throws InterruptedException {
testPartitionDistribution(1111, 10);
}
private void testPartitionDistribution(final int partitionCount, final int nodeCount) throws InterruptedException {
final Config config = new Config();
config.setProperty(GroupProperties.PROP_PARTITION_COUNT, String.valueOf(partitionCount));
TestHazelcastInstanceFactory factory = createHazelcastInstanceFactory(nodeCount);
final BlockingQueue<Integer> counts = new ArrayBlockingQueue<Integer>(nodeCount);
final HazelcastInstance[] instances = new HazelcastInstance[nodeCount];
for (int i = 0; i < nodeCount; i++) {