use of org.junit.AfterClass in project asterixdb by apache.
the class PushRuntimeTest method tearDown.
@AfterClass
public static void tearDown() throws Exception {
AlgebricksHyracksIntegrationUtil.deinit();
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 lucene-solr by apache.
the class TestTolerantUpdateProcessorRandomCloud method afterClass.
@AfterClass
public static void afterClass() throws IOException {
if (NODE_CLIENTS != null) {
for (HttpSolrClient client : NODE_CLIENTS) {
client.close();
}
}
NODE_CLIENTS = null;
if (CLOUD_CLIENT != null) {
CLOUD_CLIENT.close();
}
CLOUD_CLIENT = null;
}
use of org.junit.AfterClass in project lucene-solr by apache.
the class TestCloudJSONFacetJoinDomain method afterClass.
@AfterClass
private static void afterClass() throws Exception {
CLOUD_CLIENT.close();
CLOUD_CLIENT = null;
for (HttpSolrClient client : CLIENTS) {
client.close();
}
CLIENTS = null;
}
use of org.junit.AfterClass in project lucene-solr by apache.
the class TestRandomFlRTGCloud method afterClass.
@AfterClass
private static void afterClass() throws Exception {
CLOUD_CLIENT.close();
CLOUD_CLIENT = null;
for (HttpSolrClient client : CLIENTS) {
client.close();
}
CLIENTS = null;
}
use of org.junit.AfterClass in project logging-log4j2 by apache.
the class RollingAppenderUncompressedTest method cleanupClass.
@AfterClass
public static void cleanupClass() {
System.clearProperty(ConfigurationFactory.CONFIGURATION_FILE_PROPERTY);
final LoggerContext ctx = LoggerContext.getContext();
ctx.reconfigure();
StatusLogger.getLogger().reset();
}
Aggregations