+
+ }
+
+ // Create second cache properly this time, as non_transactional and
+ // ASYNC
+ cacheModeSet.remove(cacheMode.SYNC);
+ try {
+ c2 = (CacheImpl<String, Integer>) cm.createCache(containerName,
+ cacheName2, cacheModeSet);
+ } catch (CacheExistException | CacheConfigException e) {
+ fail("Failed to create cache " + cacheName + " though it was supposed to succeed." + e);