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