Fix Gemfire tests for the latest SDG

https://build.spring.io/browse/INT-MASTER-JOB1-750
This commit is contained in:
Artem Bilan
2017-07-19 17:40:51 -04:00
parent bccaa52bd2
commit f52fdd85ab
4 changed files with 4 additions and 4 deletions

View File

@@ -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");
}

View File

@@ -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");
}

View File

@@ -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");
}

View File

@@ -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");
}