Commit b4229239 authored by Phillip Webb's avatar Phillip Webb

Protect against NPE in server tests

Update `AbstractApplicationLauncher` to not attempt to shutdown
the process if startup fails.
parent e28338d6
......@@ -57,8 +57,10 @@ abstract class AbstractApplicationLauncher implements BeforeEachCallback, AfterE
@Override
public void afterEach(ExtensionContext context) throws Exception {
if (this.process != null) {
this.process.destroy();
}
}
@Override
public void beforeEach(ExtensionContext context) throws Exception {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment