Add test class tear down method to clear the 'spring.profiles.active' System property, if present.
This commit is contained in:
@@ -86,6 +86,11 @@ public class AutoConfiguredSslIntegrationTests extends ForkingClientServerIntegr
|
|||||||
startGemFireServer(GemFireServerConfiguration.class, "-Dspring.profiles.active=ssl");
|
startGemFireServer(GemFireServerConfiguration.class, "-Dspring.profiles.active=ssl");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@AfterClass
|
||||||
|
public static void clearSpringProfilesActiveSystemProperty() {
|
||||||
|
System.clearProperty("spring.profiles.active");
|
||||||
|
}
|
||||||
|
|
||||||
@AfterClass
|
@AfterClass
|
||||||
public static void clearSslSystemProperties() {
|
public static void clearSslSystemProperties() {
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user