mirror of https://github.com/apache/lucene.git
SOLR-10068: Only use global hdfs block cache for this test.
This commit is contained in:
parent
f7201f23e7
commit
57c41e1cbd
|
@ -32,6 +32,7 @@ import java.util.concurrent.ThreadPoolExecutor;
|
|||
import java.util.concurrent.TimeUnit;
|
||||
|
||||
import org.apache.hadoop.hdfs.MiniDFSCluster;
|
||||
import org.apache.lucene.util.LuceneTestCase;
|
||||
import org.apache.lucene.util.LuceneTestCase.Slow;
|
||||
import com.carrotsearch.randomizedtesting.annotations.Nightly;
|
||||
import org.apache.solr.SolrTestCaseJ4.SuppressSSL;
|
||||
|
@ -87,6 +88,7 @@ public class SharedFSAutoReplicaFailoverTest extends AbstractFullDistribZkTestBa
|
|||
public static void hdfsFailoverBeforeClass() throws Exception {
|
||||
System.setProperty("solr.hdfs.blockcache.blocksperbank", "512");
|
||||
dfsCluster = HdfsTestUtil.setupClass(createTempDir().toFile().getAbsolutePath());
|
||||
System.setProperty("solr.hdfs.blockcache.global", "true"); // always use global cache, this test can create a lot of directories
|
||||
schemaString = "schema15.xml";
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue