SGF-10
SGF-11 + changed default cache name from 'cache' to 'gemfire-cache' to prevent collision with other defaults
This commit is contained in:
@@ -38,8 +38,8 @@ public class CacheNamespaceTest extends RecreatingContextTest {
|
||||
|
||||
@Test
|
||||
public void testBasicCache() throws Exception {
|
||||
assertTrue(ctx.containsBean("cache"));
|
||||
CacheFactoryBean cfb = (CacheFactoryBean) ctx.getBean("&cache");
|
||||
assertTrue(ctx.containsBean("gemfire-cache"));
|
||||
CacheFactoryBean cfb = (CacheFactoryBean) ctx.getBean("&gemfire-cache");
|
||||
assertNull(TestUtils.readField("cacheXml", cfb));
|
||||
assertNull(TestUtils.readField("properties", cfb));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user