From aad71d8308923737b0c8628c99b49988bda17583 Mon Sep 17 00:00:00 2001 From: John Blum Date: Sat, 24 Jun 2023 11:00:48 -0700 Subject: [PATCH] Add closeAnyGemFireCache() method as an alias to closeAnyApacheGeodeCache(). --- .../tests/integration/IntegrationTestsSupport.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/spring-data-geode-test/src/main/java/org/springframework/data/gemfire/tests/integration/IntegrationTestsSupport.java b/spring-data-geode-test/src/main/java/org/springframework/data/gemfire/tests/integration/IntegrationTestsSupport.java index 7198949..542a61b 100644 --- a/spring-data-geode-test/src/main/java/org/springframework/data/gemfire/tests/integration/IntegrationTestsSupport.java +++ b/spring-data-geode-test/src/main/java/org/springframework/data/gemfire/tests/integration/IntegrationTestsSupport.java @@ -289,6 +289,15 @@ public abstract class IntegrationTestsSupport { closeGemFireCacheWaitOnCacheClosedEvent(); } + /** + * Alias for {@link #closeAnyApacheGeodeCache()}. + * + * @see #closeAnyApacheGeodeCache() + */ + public static void closeAnyGemFireCache() { + closeAnyApacheGeodeCache(); + } + /** * Closes any Apache Geode {@link Locator} after test (class/suite) execution. *