From 91861a7ffc64270b31f4eeac612a57e89727bc97 Mon Sep 17 00:00:00 2001 From: John Blum Date: Tue, 29 May 2018 17:39:47 -0700 Subject: [PATCH] Extend o.s.d.g.tests.integration.IntegrationTestsSupport. This test class must ensure that any existing/stale cache instance/reference is properly cleaned up before test execution. --- .../annotation/MemberNameConfigurationIntegrationTests.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/geode-spring-boot-starter/src/test/java/org/springframework/geode/config/annotation/MemberNameConfigurationIntegrationTests.java b/geode-spring-boot-starter/src/test/java/org/springframework/geode/config/annotation/MemberNameConfigurationIntegrationTests.java index e7122bf4..fa510808 100644 --- a/geode-spring-boot-starter/src/test/java/org/springframework/geode/config/annotation/MemberNameConfigurationIntegrationTests.java +++ b/geode-spring-boot-starter/src/test/java/org/springframework/geode/config/annotation/MemberNameConfigurationIntegrationTests.java @@ -23,6 +23,7 @@ import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.gemfire.config.annotation.ClientCacheApplication; +import org.springframework.data.gemfire.tests.integration.IntegrationTestsSupport; import org.springframework.data.gemfire.tests.mock.annotation.EnableGemFireMockObjects; import org.springframework.test.context.ContextConfiguration; import org.springframework.test.context.junit4.SpringRunner; @@ -40,7 +41,7 @@ import org.springframework.test.context.junit4.SpringRunner; @RunWith(SpringRunner.class) @ContextConfiguration @SuppressWarnings("unused") -public class MemberNameConfigurationIntegrationTests { +public class MemberNameConfigurationIntegrationTests extends IntegrationTestsSupport { @Autowired private GemFireCache gemfireCache;