lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sha...@apache.org
Subject svn commit: r1710310 - /lucene/dev/trunk/solr/core/src/test/org/apache/solr/cloud/TestSolrCloudWithKerberosAlt.java
Date Sat, 24 Oct 2015 07:41:09 GMT
Author: shalin
Date: Sat Oct 24 07:41:09 2015
New Revision: 1710310

URL: http://svn.apache.org/viewvc?rev=1710310&view=rev
Log:
SOLR-8182: Disable TestSolrCloudWithKerberosAlt on Java 9

Modified:
    lucene/dev/trunk/solr/core/src/test/org/apache/solr/cloud/TestSolrCloudWithKerberosAlt.java

Modified: lucene/dev/trunk/solr/core/src/test/org/apache/solr/cloud/TestSolrCloudWithKerberosAlt.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/core/src/test/org/apache/solr/cloud/TestSolrCloudWithKerberosAlt.java?rev=1710310&r1=1710309&r2=1710310&view=diff
==============================================================================
--- lucene/dev/trunk/solr/core/src/test/org/apache/solr/cloud/TestSolrCloudWithKerberosAlt.java
(original)
+++ lucene/dev/trunk/solr/core/src/test/org/apache/solr/cloud/TestSolrCloudWithKerberosAlt.java
Sat Oct 24 07:41:09 2015
@@ -29,6 +29,7 @@ import com.carrotsearch.randomizedtestin
 
 import org.apache.commons.io.FileUtils;
 import org.apache.hadoop.minikdc.MiniKdc;
+import org.apache.lucene.util.Constants;
 import org.apache.lucene.util.LuceneTestCase;
 import org.apache.solr.SolrTestCaseJ4;
 import org.apache.solr.client.solrj.SolrQuery;
@@ -44,6 +45,7 @@ import org.apache.solr.common.cloud.ZkSt
 import org.apache.solr.core.CoreDescriptor;
 import org.apache.solr.util.BadZookeeperThreadsFilter;
 import org.apache.solr.util.RevertDefaultThreadHandlerRule;
+import org.junit.BeforeClass;
 import org.junit.ClassRule;
 import org.junit.Rule;
 import org.junit.Test;
@@ -87,6 +89,11 @@ public class TestSolrCloudWithKerberosAl
       new SystemPropertiesRestoreRule()).around(
       new RevertDefaultThreadHandlerRule());
 
+  @BeforeClass
+  public static void betterNotBeJava9() {
+    assumeFalse("FIXME: SOLR-8182: This test fails under Java 9", Constants.JRE_IS_MINIMUM_JAVA9);
+  }
+
   @Override
   public void setUp() throws Exception {
     savedLocale = KerberosTestUtil.overrideLocaleIfNotSpportedByMiniKdc();



Mime
View raw message