Search in sources :

Example 1 with HostAwareMemberGroupFactory

use of com.hazelcast.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.partition.membergroup.HostAwareMemberGroupFactory) QuickTest(com.hazelcast.test.annotation.QuickTest) Test(org.junit.Test) ParallelTest(com.hazelcast.test.annotation.ParallelTest)

Aggregations

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