/** Shut down the nodes. */
 @After
 public void tearDown() throws Exception {
   if (additionalNodes != null) {
     for (SgsTestNode node : additionalNodes) {
       if (node != null) {
         node.shutdown(false);
       }
     }
     additionalNodes = null;
   }
   serverNode.shutdown(true);
 }
Ejemplo n.º 2
0
 /** Teardown. */
 @AfterClass
 public static void tearDownClass() throws Exception {
   serverNode.shutdown(true);
 }
 @After
 public void shutdown() throws Exception {
   if (serverNode != null) serverNode.shutdown(true);
 }
Ejemplo n.º 4
0
 /** Shuts down the server node. */
 protected void tearDown() throws Exception {
   if (serverNode != null) serverNode.shutdown(true);
 }
 /** Shuts down the service. */
 protected void shutdown() throws Exception {
   serverNode.shutdown(passed);
 }