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:
Steven Rowe 2014-06-04 15:49:05 +00:00
parent fc27c11d17
commit d330799888
1 changed files with 1 additions and 0 deletions

View File

@ -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 {