cache1.put("k2", "v2");
assert "v2".equals(cache1.get("k2"));
// create a new cache, make sure it joins properly
Configuration c = getDefaultClusteredConfig(cacheMode);
c.fluent()
.clustering().stateRetrieval().fetchInMemoryState(true);
EmbeddedCacheManager cm = addClusterEnabledCacheManager(new TransportFlags());
cm.defineConfiguration(cacheName, c);
Cache cache2 = cm.getCache(cacheName);
assert cache2.getAdvancedCache().getRpcManager().getTransport().getMembers().size() == 3;