Do null-safe Apache Geode/Pivotal GemFire Server Process stop inside test suite tear down method.

This commit is contained in:
John Blum
2018-05-27 02:06:46 -07:00
parent 94f4cf6a59
commit d2fa7e8751

View File

@@ -75,7 +75,7 @@ public abstract class ForkingClientServerIntegrationTestsSupport extends ClientS
@AfterClass
public static void stopGemFireServer() {
stop(gemfireServer);
getGemFireServerProcess().ifPresent(ForkingClientServerIntegrationTestsSupport::stop);
setGemFireServerProcess(null);
}