private void kill(String msg) { LOG.debug(msg); stop(); throw new RuntimeException(msg); }
private void stopStoreAndExecutor() { EXEC.stop(); STORE.stop(false); EXEC = null; STORE = null; }
@After public void tearDown() throws IOException { procExecutor.stop(); procStore.stop(false); fs.delete(logDir, true); }
@After public void tearDown() throws IOException { procExecutor.stop(); procStore.stop(false); fs.delete(logDir, true); }
@After public void tearDown() throws IOException { procExecutor.stop(); procStore.stop(false); fs.delete(logDir, true); }
@After public void tearDown() throws IOException { procExecutor.stop(); procStore.stop(false); fs.delete(logDir, true); }
@After public void tearDown() throws IOException { procExecutor.stop(); procStore.stop(false); fs.delete(logDir, true); }
@After public void tearDown() throws IOException { procExecutor.stop(); procStore.stop(false); fs.delete(logDir, true); }
@After public void tearDown() throws IOException { procExecutor.stop(); procStore.stop(false); fs.delete(logDir, true); }
@After public void tearDown() throws IOException { procExecutor.stop(); procStore.stop(false); fs.delete(logDir, true); }
@After public void tearDown() { procExec.stop(); procStore.stop(false); }
@After public void tearDown() throws IOException { procExecutor.stop(); procStore.stop(false); }
@After public void tearDown() throws IOException { procExecutor.stop(); procStore.stop(false); }
@After public void tearDown() { procExec.stop(); procStore.stop(false); }
@After public void tearDown() throws IOException { procExecutor.stop(); procStore.stop(false); procExecutor.join(); fs.delete(logDir, true); }
@After public void tearDown() throws Exception { procExecutor.stop(); procStore.stop(false); procExecutor.join(); }
@AfterClass public static void tearDown() throws Exception { procExecutor.stop(); procStore.stop(false); procExecutor.join(); }
private void stopProcedureExecutor() { if (procedureExecutor != null) { configurationManager.deregisterObserver(procedureExecutor.getEnvironment()); procedureExecutor.getEnvironment().getRemoteDispatcher().stop(); procedureExecutor.stop(); procedureExecutor.join(); procedureExecutor = null; } if (procedureStore != null) { procedureStore.stop(isAborted()); procedureStore = null; } }
@After public void tearDown() throws IOException { ProcedureTestingUtility.setKillAndToggleBeforeStoreUpdate(procExecutor, false); assertTrue("expected executor to be running", procExecutor.isRunning()); procExecutor.stop(); procStore.stop(false); fs.delete(logDir, true); }
private void stopProcedureExecutor() { if (this.procedureEnv != null) { this.procedureEnv.getRemoteDispatcher().stop(); } if (this.procedureExecutor != null) { this.procedureExecutor.stop(); } if (this.procedureStore != null) { this.procedureStore.stop(isAborted()); } }