@AfterClass public static void shutdown() { try { if (graphdb != null) graphdb.shutdown(); } finally { graphdb = null; } }
@After public void stopDb() { if (tx != null) { tx.finish(); } if (graphDb != null) { graphDb.shutdown(); } tx = null; config = null; graphDb = null; }
@After public void tearDown() throws Exception { gdb.shutdown(); }
@After public void doAfter() throws Exception { server.shutdown(); db.shutdown(); }