cm = TestCacheManagerFactory.createClusteredCacheManager();
cm.defineConfiguration(cacheName, config);
Cache<?, ?> cache = cm.getCache(cacheName);
ClusteringConfiguration clusteringCfg =
cache.getCacheConfiguration().clustering();
assertEquals(DIST_SYNC, clusteringCfg.cacheMode());
assertEquals(3, clusteringCfg.hash().numOwners());
assertEquals(51, clusteringCfg.hash().numSegments());
}
public void testOverrideWithStore() {