private MergeListener ml1;
@Override
protected void createCacheManagers() throws Throwable {
addClusterEnabledCacheManager(Configuration.CacheMode.REPL_SYNC, true,
new TransportFlags().withMerge(true));
ml0 = new MergeListener();
manager(0).addListener(ml0);
discard = TestingUtil.getDiscardForCache(cache(0));
discard.setDiscardAll(true);
addClusterEnabledCacheManager(Configuration.CacheMode.REPL_SYNC, true,
new TransportFlags().withMerge(true));
ml1 = new MergeListener();
manager(1).addListener(ml1);
cache(0).put("k", "v0");
cache(1).put("k", "v1");