From 770b99f1e2d1f22f82b0ba584ef4f594fd686cfc Mon Sep 17 00:00:00 2001 From: John Blum Date: Tue, 1 Dec 2020 17:12:45 -0800 Subject: [PATCH] Extend o.s.d.g.tests.integration.IntegrationTestsSupport. --- spring-geode-samples/caching/inline-async/lombok.config | 2 ++ ...AsyncInlineCachingUsingQueueBatchSizeIntegrationTests.java | 4 +++- ...ineCachingUsingQueueBatchTimeIntervalIntegrationTests.java | 4 +++- 3 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 spring-geode-samples/caching/inline-async/lombok.config diff --git a/spring-geode-samples/caching/inline-async/lombok.config b/spring-geode-samples/caching/inline-async/lombok.config new file mode 100644 index 00000000..6aa51d71 --- /dev/null +++ b/spring-geode-samples/caching/inline-async/lombok.config @@ -0,0 +1,2 @@ +# This file is generated by the 'io.freefair.lombok' Gradle plugin +config.stopBubbling = true diff --git a/spring-geode-samples/caching/inline-async/src/test/java/example/app/caching/inline/async/queue_batch_size/AsyncInlineCachingUsingQueueBatchSizeIntegrationTests.java b/spring-geode-samples/caching/inline-async/src/test/java/example/app/caching/inline/async/queue_batch_size/AsyncInlineCachingUsingQueueBatchSizeIntegrationTests.java index 3a9a7351..0612d06f 100644 --- a/spring-geode-samples/caching/inline-async/src/test/java/example/app/caching/inline/async/queue_batch_size/AsyncInlineCachingUsingQueueBatchSizeIntegrationTests.java +++ b/spring-geode-samples/caching/inline-async/src/test/java/example/app/caching/inline/async/queue_batch_size/AsyncInlineCachingUsingQueueBatchSizeIntegrationTests.java @@ -44,6 +44,7 @@ import org.springframework.context.annotation.Import; import org.springframework.data.gemfire.GemfireTemplate; import org.springframework.data.gemfire.config.annotation.EnableEntityDefinedRegions; import org.springframework.data.gemfire.config.annotation.PeerCacheApplication; +import org.springframework.data.gemfire.tests.integration.IntegrationTestsSupport; import org.springframework.data.gemfire.tests.util.ReflectionUtils; import org.springframework.data.jpa.repository.config.EnableJpaRepositories; import org.springframework.geode.cache.RepositoryAsyncEventListener; @@ -74,6 +75,7 @@ import example.app.caching.inline.async.config.AsyncInlineCachingConfiguration; * @see org.springframework.context.annotation.Bean * @see org.springframework.context.annotation.Import * @see org.springframework.data.gemfire.config.annotation.PeerCacheApplication + * @see org.springframework.data.gemfire.tests.integration.IntegrationTestsSupport * @see org.springframework.data.jpa.repository.config.EnableJpaRepositories * @see org.springframework.geode.cache.RepositoryAsyncEventListener * @see org.springframework.test.context.ActiveProfiles @@ -92,7 +94,7 @@ import example.app.caching.inline.async.config.AsyncInlineCachingConfiguration; webEnvironment = SpringBootTest.WebEnvironment.NONE ) @SuppressWarnings("unused") -public class AsyncInlineCachingUsingQueueBatchSizeIntegrationTests { +public class AsyncInlineCachingUsingQueueBatchSizeIntegrationTests extends IntegrationTestsSupport { private volatile AsyncEventQueue golfersEventQueue; diff --git a/spring-geode-samples/caching/inline-async/src/test/java/example/app/caching/inline/async/queue_batch_time_interval/AsyncInlineCachingUsingQueueBatchTimeIntervalIntegrationTests.java b/spring-geode-samples/caching/inline-async/src/test/java/example/app/caching/inline/async/queue_batch_time_interval/AsyncInlineCachingUsingQueueBatchTimeIntervalIntegrationTests.java index e3736c41..25e1d3f9 100644 --- a/spring-geode-samples/caching/inline-async/src/test/java/example/app/caching/inline/async/queue_batch_time_interval/AsyncInlineCachingUsingQueueBatchTimeIntervalIntegrationTests.java +++ b/spring-geode-samples/caching/inline-async/src/test/java/example/app/caching/inline/async/queue_batch_time_interval/AsyncInlineCachingUsingQueueBatchTimeIntervalIntegrationTests.java @@ -44,6 +44,7 @@ import org.springframework.context.annotation.Import; import org.springframework.data.gemfire.GemfireTemplate; import org.springframework.data.gemfire.config.annotation.EnableEntityDefinedRegions; import org.springframework.data.gemfire.config.annotation.PeerCacheApplication; +import org.springframework.data.gemfire.tests.integration.IntegrationTestsSupport; import org.springframework.data.gemfire.tests.util.ReflectionUtils; import org.springframework.data.jpa.repository.config.EnableJpaRepositories; import org.springframework.geode.cache.RepositoryAsyncEventListener; @@ -73,6 +74,7 @@ import example.app.caching.inline.async.config.AsyncInlineCachingConfiguration; * @see org.springframework.context.annotation.Bean * @see org.springframework.context.annotation.Import * @see org.springframework.data.gemfire.config.annotation.PeerCacheApplication + * @see org.springframework.data.gemfire.tests.integration.IntegrationTestsSupport * @see org.springframework.data.jpa.repository.config.EnableJpaRepositories * @see org.springframework.geode.cache.RepositoryAsyncEventListener * @see org.springframework.test.context.ActiveProfiles @@ -91,7 +93,7 @@ import example.app.caching.inline.async.config.AsyncInlineCachingConfiguration; webEnvironment = SpringBootTest.WebEnvironment.NONE ) @SuppressWarnings("unused") -public class AsyncInlineCachingUsingQueueBatchTimeIntervalIntegrationTests { +public class AsyncInlineCachingUsingQueueBatchTimeIntervalIntegrationTests extends IntegrationTestsSupport { private volatile AsyncEventQueue golfersEventQueue;