From fc64a35085bdc6fe9d1f25a440c87042c9d93328 Mon Sep 17 00:00:00 2001 From: John Blum Date: Tue, 29 May 2018 15:40:15 -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. --- .../support/SecurityManagerProxyIntegrationTests.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/geode-spring-boot-starter/src/test/java/org/springframework/boot/data/geode/security/support/SecurityManagerProxyIntegrationTests.java b/geode-spring-boot-starter/src/test/java/org/springframework/boot/data/geode/security/support/SecurityManagerProxyIntegrationTests.java index 671cba76..e3876b1b 100644 --- a/geode-spring-boot-starter/src/test/java/org/springframework/boot/data/geode/security/support/SecurityManagerProxyIntegrationTests.java +++ b/geode-spring-boot-starter/src/test/java/org/springframework/boot/data/geode/security/support/SecurityManagerProxyIntegrationTests.java @@ -29,6 +29,7 @@ import org.springframework.context.annotation.Bean; import org.springframework.data.gemfire.config.annotation.EnableSecurity; import org.springframework.data.gemfire.config.annotation.PeerCacheApplication; import org.springframework.data.gemfire.support.GemfireBeanFactoryLocatorProxy; +import org.springframework.data.gemfire.tests.integration.IntegrationTestsSupport; import org.springframework.test.context.ContextConfiguration; import org.springframework.test.context.junit4.SpringRunner; @@ -43,12 +44,13 @@ import org.springframework.test.context.junit4.SpringRunner; * @see org.springframework.data.gemfire.config.annotation.PeerCacheApplication * @see org.springframework.test.context.ContextConfiguration * @see org.springframework.test.context.junit4.SpringRunner + * @see org.springframework.data.gemfire.tests.integration.IntegrationTestsSupport * @since 1.0.0 */ @RunWith(SpringRunner.class) @ContextConfiguration @SuppressWarnings("unused") -public class SecurityManagerProxyIntegrationTests { +public class SecurityManagerProxyIntegrationTests extends IntegrationTestsSupport { private static final String GEMFIRE_LOG_LEVEL = "error";