@AfterTest public void afterTestClass() { ++afterCount; // System.out.println("@@@@@@@ afterTestClass has been called " + afterCount + " time(s)"); }
@AfterTest public void afterTest() { beforeCount = 0; afterCount = 0; }
@AfterTest public void cleanUp() throws IOException { FileUtils.deleteDirectory(baseDir); }
@AfterTest public void deleteSegment() { FileUtils.deleteQuietly(INDEX_DIR); }
@AfterTest public void deleteSegment() { FileUtils.deleteQuietly(INDEX_DIR); }
@AfterTest public void deleteSegment() { FileUtils.deleteQuietly(INDEX_DIR); FileUtils.deleteQuietly(INDEX_DIR_STARTREE); }
@AfterTest public void cleanUp() throws IOException { if (this.testFs.exists(this.jobStateRootDir)) { this.testFs.delete(this.jobStateRootDir, true); } } }
/** * Method for cleaning tmp files if any was created */ @AfterTest public void removeTmpFiles() { if (latFile.exists()) latFile.delete(); if (slfFile.exists()) slfFile.delete(); }
@AfterTest public void tearDownTest() { for (HttpServer server : servers) { server.stop(0); } }
@AfterTest public void tearDown() throws IOException { _memoryManager.close(); } }
@AfterTest public void stopServer() { try { this.server.shutDown(); } catch (Exception e) { // do nothing } }
@AfterTest(alwaysRun = true) public void tearDown() { assertThatNoBlackHoleTableIsCreated(); queryRunner.close(); queryRunner = null; }
@AfterTest public void afterTest() { _zkClient.close(); ZkStarter.stopLocalZkServer(_zookeeperInstance); }
@AfterTest public void afterTest() { if (_helixManager instanceof FakeHelixManager) { ((FakeHelixManager) _helixManager).closeZkClient(); } ZkStarter.stopLocalZkServer(_zookeeperInstance); }
@BeforeTest @AfterTest public void cleanDir() throws IOException { GobblinLocalJobLauncherUtils.cleanDir(); }
@BeforeTest @AfterTest public void cleanDir() throws IOException { GobblinLocalJobLauncherUtils.cleanDir(); }
@BeforeTest @AfterTest public void cleanDir() throws IOException { GobblinLocalJobLauncherUtils.cleanDir(); }
@BeforeTest @AfterTest public void cleanDir() throws IOException { GobblinLocalJobLauncherUtils.cleanDir(); }
@AfterTest public void tearDown() { _pinotHelixResourceManager.stop(); _zkClient.close(); ZkStarter.stopLocalZkServer(_zookeeperInstance); }
@AfterTest public void tearDown() { _pinotResourceManager.stop(); _zkClient.close(); ZkStarter.stopLocalZkServer(_zookeeperInstance); }