8081576: serviceability/sa tests fail due to LingeredApp process fails to start

Provide a API to corrctly terminate LingeredApp

Reviewed-by: sspitsyn
This commit is contained in:
Dmitry Samersoff 2015-06-23 12:35:39 +03:00
parent 60c572a84a
commit c55d90aeef

View File

@ -123,7 +123,7 @@ public class TmtoolTestScenario {
return toolProcess.exitValue();
} finally {
theApp.stopApp();
LingeredApp.stopApp(theApp);
}
} catch (IOException | InterruptedException ex) {
throw new RuntimeException("Test ERROR " + ex, ex);