private static final Log log = LogFactory.getLog(FlagTest.class);
@Override
protected void createCacheManagers() throws Throwable {
ConfigurationBuilder cb = getDefaultClusteredCacheConfig(CacheMode.INVALIDATION_SYNC, true);
cb.invocationBatching().enable();
createClusteredCaches(2, "invalidatedFlagCache", cb);
cache1 = cache(0, "invalidatedFlagCache");
cache2 = cache(1, "invalidatedFlagCache");
TreeCacheFactory tcf = new TreeCacheFactory();
treeCache1 = tcf.createTreeCache(cache1);