SGF-473 - Fix CI build test failures.
(cherry picked from commit adaf6903d7a177dc63fff888121cd9060e949aba) Signed-off-by: John Blum <jblum@pivotal.io>
This commit is contained in:
@@ -39,9 +39,9 @@ import org.springframework.test.context.ContextConfiguration;
|
||||
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
|
||||
|
||||
import com.gemstone.gemfire.cache.DataPolicy;
|
||||
import com.gemstone.gemfire.cache.GemFireCache;
|
||||
import com.gemstone.gemfire.cache.Region;
|
||||
import com.gemstone.gemfire.cache.RegionAttributes;
|
||||
import com.gemstone.gemfire.cache.client.ClientCache;
|
||||
import com.gemstone.gemfire.cache.client.ClientRegionShortcut;
|
||||
|
||||
/**
|
||||
@@ -90,7 +90,7 @@ public class LocalOnlyClientCacheIntegrationTest {
|
||||
}
|
||||
|
||||
@Bean
|
||||
Properties gemfireProperties(@Value("${spring.gemfire.log.level:config}") String logLevel) {
|
||||
Properties gemfireProperties(@Value("${spring.gemfire.log.level:warning}") String logLevel) {
|
||||
Properties gemfireProperties = new Properties();
|
||||
|
||||
gemfireProperties.setProperty("name", LocalOnlyClientCacheIntegrationTest.class.getSimpleName());
|
||||
@@ -111,7 +111,7 @@ public class LocalOnlyClientCacheIntegrationTest {
|
||||
}
|
||||
|
||||
@Bean(name = "Example")
|
||||
ClientRegionFactoryBean<Long, String> exampleRegion(ClientCache gemfireCache,
|
||||
ClientRegionFactoryBean<Long, String> exampleRegion(GemFireCache gemfireCache,
|
||||
RegionAttributes<Long, String> exampleAttributes) {
|
||||
|
||||
ClientRegionFactoryBean<Long, String> exampleRegion = new ClientRegionFactoryBean<Long, String>();
|
||||
|
||||
@@ -20,17 +20,15 @@ import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
|
||||
|
||||
/**
|
||||
* @author David Turanski
|
||||
*
|
||||
* @author John Blum
|
||||
*/
|
||||
@RunWith(SpringJUnit4ClassRunner.class)
|
||||
@ContextConfiguration(initializers = GemfireTestApplicationContextInitializer.class)
|
||||
public class FunctionsWithClientCacheTests {
|
||||
|
||||
|
||||
@Test
|
||||
public void test() {
|
||||
//Just make sure this comes up for SGF-186
|
||||
public void doNothing() {
|
||||
// Just make sure this comes up for SGF-186.
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,16 +1,21 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<beans xmlns="http://www.springframework.org/schema/beans"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:gfe="http://www.springframework.org/schema/gemfire"
|
||||
xmlns:gfe-data="http://www.springframework.org/schema/data/gemfire"
|
||||
xsi:schemaLocation="http://www.springframework.org/schema/gemfire http://www.springframework.org/schema/gemfire/spring-gemfire-1.3.xsd
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:gfe="http://www.springframework.org/schema/gemfire"
|
||||
xmlns:gfe-data="http://www.springframework.org/schema/data/gemfire"
|
||||
xmlns:util="http://www.springframework.org/schema/util"
|
||||
xsi:schemaLocation="
|
||||
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
|
||||
http://www.springframework.org/schema/data/gemfire http://www.springframework.org/schema/data/gemfire/spring-data-gemfire-1.3.xsd">
|
||||
<!-- SGF-186 -->
|
||||
<gfe:client-cache/>
|
||||
<gfe:pool>
|
||||
<gfe:locator host="localhost" port="10334" />
|
||||
</gfe:pool>
|
||||
http://www.springframework.org/schema/gemfire http://www.springframework.org/schema/gemfire/spring-gemfire.xsd
|
||||
http://www.springframework.org/schema/data/gemfire http://www.springframework.org/schema/data/gemfire/spring-data-gemfire.xsd
|
||||
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd
|
||||
">
|
||||
|
||||
<util:properties id="gemfireProperties">
|
||||
<prop key="log-level">warning</prop>
|
||||
</util:properties>
|
||||
|
||||
<gfe:client-cache properties-ref="gemfireProperties"/>
|
||||
|
||||
<gfe-data:function-executions base-package="org.springframework.data.gemfire.function.config.four" />
|
||||
|
||||
|
||||
Reference in New Issue
Block a user