c.setCacheMode(CacheMode.REPL_ASYNC);
Cache cache2 = null;
try
{
cache2 = createCache(c);
cache2.start();
Cache[] caches = new Cache[]{wrapper.getCache(), cache2};
TestingUtil.blockUntilViewsReceived(caches, 5000);
Address addr = wrapper.getLocalAddress();
assertNotNull("Got an Address", addr);