List of usage examples for org.apache.solr SolrTestCaseJ4 resetFactory
public static void resetFactory() throws Exception
From source file:org.apache.sentry.tests.e2e.solr.HdfsTestUtil.java
License:Apache License
public static void teardownClass(MiniDFSCluster dfsCluster) throws Exception { SolrTestCaseJ4.resetFactory(); System.clearProperty("solr.lock.type"); System.clearProperty("test.build.data"); System.clearProperty("test.cache.data"); if (dfsCluster != null) { dfsCluster.shutdown();/*from www. j ava 2 s. co m*/ } // TODO: we HACK around HADOOP-9643 if (savedLocale != null) { Locale.setDefault(savedLocale); } }