Search in sources :

Example 1 with HostAwareMemberGroupFactory

use of com.hazelcast.internal.partition.membergroup.HostAwareMemberGroupFactory in project hazelcast by hazelcast.

the class PartitionStateGeneratorTest method testHostAwarePartitionStateGenerator.

// "random host groups may cause non-uniform distribution of partitions when node size go down significantly!")
@Test
public void testHostAwarePartitionStateGenerator() throws Exception {
    final HostAwareMemberGroupFactory memberGroupFactory = new HostAwareMemberGroupFactory();
    test(memberGroupFactory);
}
Also used : HostAwareMemberGroupFactory(com.hazelcast.internal.partition.membergroup.HostAwareMemberGroupFactory) ParallelJVMTest(com.hazelcast.test.annotation.ParallelJVMTest) QuickTest(com.hazelcast.test.annotation.QuickTest) Test(org.junit.Test)

Aggregations

HostAwareMemberGroupFactory (com.hazelcast.internal.partition.membergroup.HostAwareMemberGroupFactory)1 ParallelJVMTest (com.hazelcast.test.annotation.ParallelJVMTest)1 QuickTest (com.hazelcast.test.annotation.QuickTest)1 Test (org.junit.Test)1