protected void restartServer() throws Exception { shellServer.shutdown(); db.shutdown(); db = newDb(); remotelyAvailableOnPort = null; shellServer = newServer(db); shellClient = newShellClient(shellServer); }
@After public void doAfter() throws Exception { if (tx != null) { finishTx(false); } shellClient.shutdown(); shellServer.shutdown(); db.shutdown(); }