mirror of https://github.com/apache/lucene.git
LUCENE-5650: Reset solr.hdfs.home correctly to allow TestRecoveryHdfs tests to pass
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1600310 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
fc27c11d17
commit
d330799888
|
@ -78,6 +78,7 @@ public class TestRecoveryHdfs extends SolrTestCaseJ4 {
|
|||
@BeforeClass
|
||||
public static void beforeClass() throws Exception {
|
||||
dfsCluster = HdfsTestUtil.setupClass(createTempDir().getAbsolutePath());
|
||||
System.setProperty("solr.hdfs.home", dfsCluster.getURI().toString() + "/solr");
|
||||
hdfsUri = dfsCluster.getFileSystem().getUri().toString();
|
||||
|
||||
try {
|
||||
|
|
Loading…
Reference in New Issue