use of org.testng.annotations.AfterClass in project incubator-gobblin by apache.
the class FlowCatalogTest method cleanUp.
@AfterClass
public void cleanUp() throws Exception {
// Shutdown Catalog
this.serviceLauncher.stop();
File specStoreDir = new File(SPEC_STORE_DIR);
if (specStoreDir.exists()) {
FileUtils.deleteDirectory(specStoreDir);
}
}
use of org.testng.annotations.AfterClass in project incubator-gobblin by apache.
the class TopologyCatalogTest method cleanUp.
@AfterClass
public void cleanUp() throws Exception {
// Shutdown Catalog
this.serviceLauncher.stop();
File specStoreDir = new File(SPEC_STORE_DIR);
if (specStoreDir.exists()) {
FileUtils.deleteDirectory(specStoreDir);
}
}
use of org.testng.annotations.AfterClass in project incubator-gobblin by apache.
the class CopyIntegrationTest method cleanup.
@AfterClass
@BeforeClass
public void cleanup() throws Exception {
FileSystem fs = FileSystem.getLocal(new Configuration());
fs.delete(new Path("gobblin-test-harness/testOutput"), true);
}
use of org.testng.annotations.AfterClass in project incubator-gobblin by apache.
the class Kafka08DataWriterIntegrationTest method cleanup.
@AfterClass
@BeforeClass
public void cleanup() throws Exception {
File file = new File("gobblin-kafka/testOutput");
FileUtils.deleteDirectory(file);
}
use of org.testng.annotations.AfterClass in project midpoint by Evolveum.
the class AbstractModelIntegrationTest method cleanUpSecurity.
@AfterClass
protected void cleanUpSecurity() {
SecurityContext securityContext = SecurityContextHolder.getContext();
securityContext.setAuthentication(null);
}
Aggregations