use of org.junit.AfterClass in project asterixdb by apache.
the class AbstractExecutionIT method tearDown.
@AfterClass
public static void tearDown() throws Exception {
File outdir = new File(PATH_ACTUAL);
File[] files = outdir.listFiles();
if ((files == null) || (files.length == 0)) {
outdir.delete();
}
AsterixLifecycleIT.tearDown();
HDFSCluster.getInstance().cleanup();
if (!badTestCases.isEmpty()) {
System.out.println("The following test cases left some data");
for (String testCase : badTestCases) {
System.out.println(testCase);
}
}
}
use of org.junit.AfterClass in project asterixdb by apache.
the class NCServiceExecutionIT method tearDown.
@AfterClass
public static void tearDown() throws Exception {
File outdir = new File(ACTUAL_RESULTS_DIR);
File[] files = outdir.listFiles();
if (files == null || files.length == 0) {
outdir.delete();
}
cluster.stop();
HDFSCluster.getInstance().cleanup();
if (!badTestCases.isEmpty()) {
System.out.println("The following test cases left some data");
for (String testCase : badTestCases) {
System.out.println(testCase);
}
}
}
use of org.junit.AfterClass in project asterixdb by apache.
the class OptimizerParserTest method tearDown.
@AfterClass
public static void tearDown() throws Exception {
File outdir = new File(PATH_ACTUAL);
File[] files = outdir.listFiles();
if (files == null || files.length == 0) {
outdir.delete();
}
}
use of org.junit.AfterClass in project asterixdb by apache.
the class RuntimeParserTest method tearDown.
@AfterClass
public static void tearDown() throws Exception {
File outdir = new File(PATH_ACTUAL);
File[] files = outdir.listFiles();
if (files == null || files.length == 0) {
outdir.delete();
}
}
use of org.junit.AfterClass in project asterixdb by apache.
the class SmokeParserTest method tearDown.
@AfterClass
public static void tearDown() throws Exception {
File outdir = new File(PATH_ACTUAL);
File[] files = outdir.listFiles();
if (files == null || files.length == 0) {
outdir.delete();
}
}
Aggregations