コード例 #1
0
 @BeforeMethod
 public void buildNode1() throws Exception {
   buildNode("server1");
   // since we store (by default) the index snapshot under the gateway, resetting it will reset the
   // index data as well
   ((InternalNode) node("server1")).injector().getInstance(Gateway.class).reset();
   closeAllNodes();
 }
コード例 #2
0
 @AfterMethod
 public void closeServers() {
   closeAllNodes();
 }
コード例 #3
0
 @AfterClass
 public void closeNodes() {
   client.close();
   closeAllNodes();
 }