Rename closeAnyExistingGemFireCacheInstanceBeforeTestExecution() as closeAnyGemFireCacheInstanceBeforeTestExecution().

Rename closeAnyExistingSocketConfigurationBeforeTestExecution() as closeAnySocketConfigurationBeforeTestExecution().

Rename closeAnyExistingSslConfigurationBeforeTestExecution() as closeAnySslConfigurationBeforeTestExecution().

Rename stopAnyExistingGemFireLocatorBeforeTestExecution() as stopAnyGemFireLocatorBeforeTestExecution().
This commit is contained in:
John Blum
2019-09-09 19:18:04 -07:00
parent 5380c49356
commit 9f87352a5e
2 changed files with 6 additions and 6 deletions

View File

@@ -114,19 +114,19 @@ public abstract class IntegrationTestsSupport {
}
@BeforeClass
public static void closeAnyExistingGemFireCacheInstanceBeforeTestExecution() {
public static void closeAnyGemFireCacheInstanceBeforeTestExecution() {
closeGemFireCacheWaitOnCloseEvent();
}
@BeforeClass
public static void closeAnyExistingSocketConfigurationBeforeTestExecution() {
public static void closeAnySocketConfigurationBeforeTestExecution() {
SocketCreatorFactory.close();
}
@BeforeClass
// TODO: Remove once GEODE-7157 (https://issues.apache.org/jira/browse/GEODE-7157) is fixed!
// Do the job of Apache Geode & Pivotal GemFire since it cannot do its own damn job!
public static void closeAnyExistingSslConfigurationBeforeTestExecution() {
@BeforeClass
public static void closeAnySslConfigurationBeforeTestExecution() {
//SSLConfigurationFactory.close();
@@ -149,7 +149,7 @@ public abstract class IntegrationTestsSupport {
}
@BeforeClass
public static void stopAnyExistingGemFireLocatorBeforeTestExecution() {
public static void stopAnyGemFireLocatorBeforeTestExecution() {
stopGemFireLocatorWaitOnStopEvent();
}

View File

@@ -59,7 +59,7 @@ public class SslConfigurationIntegrationTests {
assertThat(sslConfigurationFactoryOne).isNotNull();
assertThat(getInstance()).isSameAs(sslConfigurationFactoryOne);
IntegrationTestsSupport.closeAnyExistingSslConfigurationBeforeTestExecution();
IntegrationTestsSupport.closeAnySslConfigurationBeforeTestExecution();
SSLConfigurationFactory sslConfigurationFactoryTwo = getInstance();