Пример #1
0
 @AfterClass
 public static void shutdown() {
   try {
     if (graphdb != null) graphdb.shutdown();
   } finally {
     graphdb = null;
   }
 }
Пример #2
0
 @After
 public void stopDb() {
   if (tx != null) {
     tx.finish();
   }
   if (graphDb != null) {
     graphDb.shutdown();
   }
   tx = null;
   config = null;
   graphDb = null;
 }
Пример #3
0
 @After
 public void tearDown() throws Exception {
   gdb.shutdown();
 }
Пример #4
0
 @After
 public void doAfter() throws Exception {
   server.shutdown();
   db.shutdown();
 }