gcb.globalJmxStatistics().allowDuplicateDomains(true);
return TestCacheManagerFactory.createClusteredCacheManager(gcb, c);
}
private void doTestRemoveCacheClustered(final Method m, final boolean isStoreShared) {
withCacheManagers(new MultiCacheManagerCallable(
getManagerWithStore(m, true, isStoreShared, "store1-"),
getManagerWithStore(m, true, isStoreShared, "store2-")) {
@Override
public void call() {
EmbeddedCacheManager manager1 = cms[0];