return CacheMode.REPL_SYNC;
}
protected void createCacheManagers() throws Throwable {
ConfigurationBuilder cfg = getDefaultClusteredCacheConfig(getCacheMode(), true);
cfg.transaction().transactionManagerLookup(new DummyTransactionManagerLookup())
.lockingMode(LockingMode.PESSIMISTIC)
.locking().lockAcquisitionTimeout(500);
createClusteredCaches(2, "testcache", cfg);
waitForClusterToForm("testcache");
}