protected void stopTestProcessListenerAndWait(TestProcessListenerStream listener) throws InterruptedException { WaitForStopProcessListener stopListener = new WaitForStopProcessListener(); master.registerStopProcessListener(listener.getProcessName(), stopListener); testManager.stopProcessListener(listener.getProcessName()); stopListener.waitForStop(); }
protected void stopTestProcessListener(String name, int waitMs) throws InterruptedException { testManager.stopProcessListener(name); Thread.sleep(waitMs); }
protected void stopTestProcessListener(String name) throws InterruptedException { testManager.stopProcessListener(name); }