public void exec() throws InterruptedException, TimeoutException { assertNotNull(process); process.start(); assert process.waitForServiceToStop(5000); }
public void exec() throws InterruptedException, TimeoutException { assertNotNull(process); process.start(); assert process.waitForServiceToStop(5000); }
process.start(); try { if (!process.waitForServiceToStop(timeoutMillis)) { throw new TimeoutException( "Process did not stop in " + timeoutMillis + "mS");
process.start(); try { if (!process.waitForServiceToStop(timeoutMillis)) { throw new TimeoutException( "Process did not stop in " + timeoutMillis + "mS");