Apache Solr open-source search software
SOLR-4916: add assume false to test for java 8
Mark Robert Miller4ac141d204d8
diff --git a/solr/core/src/test/org/apache/solr/cloud/hdfs/HdfsUnloadDistributedZkTest.java b/solr/core/src/test/org/apache/solr/cloud/hdfs/HdfsUnloadDistributedZkTest.javaindex 7f89b79e94a..bcb758060f3 100644--- a/solr/core/src/test/org/apache/solr/cloud/hdfs/HdfsUnloadDistributedZkTest.java+++ b/solr/core/src/test/org/apache/solr/cloud/hdfs/HdfsUnloadDistributedZkTest.java@@ -21,6 +21,7 @@ import java.io.File;import java.io.IOException;import org.apache.hadoop.hdfs.MiniDFSCluster;+import org.apache.lucene.util.Constants;import org.apache.lucene.util.LuceneTestCase.Slow;import org.apache.solr.cloud.UnloadDistributedZkTest;import org.junit.AfterClass;@@ -38,6 +39,8 @@ public class HdfsUnloadDistributedZkTest extends UnloadDistributedZkTest {@BeforeClasspublic static void setupClass() throws Exception {+ assumeFalse("FIXME: This test fails under Java 8 all the time, see SOLR-4711", Constants.JRE_IS_MINIMUM_JAVA8);+dfsCluster = HdfsTestUtil.setupClass(new File(TEMP_DIR,HdfsUnloadDistributedZkTest.class.getName() + "_"+ System.currentTimeMillis()).getAbsolutePath());