diff --git a/build.gradle b/build.gradle index f494af88ee..bf842a4418 100644 --- a/build.gradle +++ b/build.gradle @@ -243,8 +243,13 @@ project('spring-integration-ftp') { } } + project('spring-integration-gemfire') { description = 'Spring Integration GemFire Support' + test{ + forkEvery = 1 + systemProperties['gemfire.disableShutdownHook'] = 'true' + } dependencies { compile project(":spring-integration-core") compile ("org.springframework.data.gemfire:spring-gemfire:$springGemfireVersion") { diff --git a/spring-integration-gemfire/src/test/java/org/springframework/integration/gemfire/inbound/CqInboundChannelAdapterTests.java b/spring-integration-gemfire/src/test/java/org/springframework/integration/gemfire/inbound/CqInboundChannelAdapterTests.java index 84abf01a50..dcd55bb419 100644 --- a/spring-integration-gemfire/src/test/java/org/springframework/integration/gemfire/inbound/CqInboundChannelAdapterTests.java +++ b/spring-integration-gemfire/src/test/java/org/springframework/integration/gemfire/inbound/CqInboundChannelAdapterTests.java @@ -12,17 +12,12 @@ */ package org.springframework.integration.gemfire.inbound; -import static org.junit.Assert.assertEquals; -import static org.junit.Assert.assertNotNull; -import static org.junit.Assert.assertTrue; - import java.io.IOException; import java.io.OutputStream; import org.junit.AfterClass; import org.junit.Before; import org.junit.BeforeClass; -import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; @@ -36,13 +31,16 @@ import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import com.gemstone.gemfire.cache.query.CqEvent; import com.gemstone.gemfire.internal.cache.LocalRegion; +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertNotNull; +import static org.junit.Assert.assertTrue; + /** * @author David Turanski * */ @RunWith(SpringJUnit4ClassRunner.class) @ContextConfiguration -@Ignore public class CqInboundChannelAdapterTests { static ConfigurableApplicationContext staticCtx;