Fix Gemfire tests for the latest SDG
https://build.spring.io/browse/INT-MASTER-JOB1-750
This commit is contained in:
@@ -58,7 +58,7 @@ public class CacheWritingMessageHandlerTests {
|
||||
public static void startUp() throws Exception {
|
||||
cacheFactoryBean = new CacheFactoryBean();
|
||||
cacheFactoryBean.afterPropertiesSet();
|
||||
Cache cache = cacheFactoryBean.getObject();
|
||||
Cache cache = (Cache) cacheFactoryBean.getObject();
|
||||
region = cache.createRegionFactory().setScope(Scope.LOCAL).create("sig-tests");
|
||||
}
|
||||
|
||||
|
||||
@@ -68,7 +68,7 @@ public class DelayerHandlerRescheduleIntegrationTests {
|
||||
public static void startUp() throws Exception {
|
||||
cacheFactoryBean = new CacheFactoryBean();
|
||||
cacheFactoryBean.afterPropertiesSet();
|
||||
Cache cache = cacheFactoryBean.getObject();
|
||||
Cache cache = (Cache) cacheFactoryBean.getObject();
|
||||
region = cache.createRegionFactory().setScope(Scope.LOCAL).create("sig-tests");
|
||||
}
|
||||
|
||||
|
||||
@@ -374,7 +374,7 @@ public class GemfireGroupStoreTests {
|
||||
public static void init() throws Exception {
|
||||
cacheFactoryBean = new CacheFactoryBean();
|
||||
cacheFactoryBean.afterPropertiesSet();
|
||||
Cache cache = cacheFactoryBean.getObject();
|
||||
Cache cache = (Cache) cacheFactoryBean.getObject();
|
||||
region = cache.createRegionFactory().setScope(Scope.LOCAL).create("sig-tests");
|
||||
}
|
||||
|
||||
|
||||
@@ -134,7 +134,7 @@ public class GemfireMessageStoreTests {
|
||||
@BeforeClass
|
||||
public static void init() throws Exception {
|
||||
cacheFactoryBean = new CacheFactoryBean();
|
||||
Cache cache = cacheFactoryBean.getObject();
|
||||
Cache cache = (Cache) cacheFactoryBean.getObject();
|
||||
region = cache.createRegionFactory().setScope(Scope.LOCAL).create("sig-tests");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user