From 88c177ead68a93c31215609813c8399d5baf3b61 Mon Sep 17 00:00:00 2001 From: Mark Robert Miller Date: Mon, 25 Nov 2013 01:42:01 +0000 Subject: [PATCH] SOLR-4711: enable these tests on java 8 git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1545131 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/test/org/apache/solr/cloud/CustomCollectionTest.java | 5 ----- .../apache/solr/cloud/hdfs/HdfsUnloadDistributedZkTest.java | 3 --- 2 files changed, 8 deletions(-) diff --git a/solr/core/src/test/org/apache/solr/cloud/CustomCollectionTest.java b/solr/core/src/test/org/apache/solr/cloud/CustomCollectionTest.java index d96d6f90bde..a84c9ea99b3 100644 --- a/solr/core/src/test/org/apache/solr/cloud/CustomCollectionTest.java +++ b/solr/core/src/test/org/apache/solr/cloud/CustomCollectionTest.java @@ -49,14 +49,10 @@ import org.apache.solr.client.solrj.impl.HttpSolrServer; import org.apache.solr.client.solrj.request.QueryRequest; import org.apache.solr.client.solrj.request.UpdateRequest; import org.apache.solr.client.solrj.response.QueryResponse; -import org.apache.solr.common.SolrException; -import org.apache.solr.common.SolrException.ErrorCode; import org.apache.solr.common.cloud.ClusterState; import org.apache.solr.common.cloud.DocCollection; import org.apache.solr.common.cloud.ImplicitDocRouter; import org.apache.solr.common.cloud.Replica; -import org.apache.solr.common.cloud.Slice; -import org.apache.solr.common.cloud.ZkCoreNodeProps; import org.apache.solr.common.cloud.ZkNodeProps; import org.apache.solr.common.cloud.ZkStateReader; import org.apache.solr.common.params.CollectionParams.CollectionAction; @@ -84,7 +80,6 @@ public class CustomCollectionTest extends AbstractFullDistribZkTestBase { @BeforeClass public static void beforeThisClass2() throws Exception { - assumeFalse("FIXME: This test fails under Java 8 all the time, see SOLR-4711", Constants.JRE_IS_MINIMUM_JAVA8); } @Before 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.java index bcb758060f3..7f89b79e94a 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,7 +21,6 @@ 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; @@ -39,8 +38,6 @@ public class HdfsUnloadDistributedZkTest extends UnloadDistributedZkTest { @BeforeClass public 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());