Add test class tear down method to clear the 'spring.profiles.active' System property, if present.

This commit is contained in:
John Blum
2019-03-21 23:40:47 -07:00
parent 6aca93658e
commit a64e8a2c98

View File

@@ -86,6 +86,11 @@ public class AutoConfiguredSslIntegrationTests extends ForkingClientServerIntegr
startGemFireServer(GemFireServerConfiguration.class, "-Dspring.profiles.active=ssl");
}
@AfterClass
public static void clearSpringProfilesActiveSystemProperty() {
System.clearProperty("spring.profiles.active");
}
@AfterClass
public static void clearSslSystemProperties() {