From 225198a2b754783d485b2cee7d1aa4741f65e5a3 Mon Sep 17 00:00:00 2001 From: Uwe Schindler Date: Sat, 3 Sep 2016 10:48:01 +0200 Subject: [PATCH] SOLR-9460: Disable test that does not work with Windows --- .../solr/cloud/TestSolrCloudWithSecureImpersonation.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/solr/core/src/test/org/apache/solr/cloud/TestSolrCloudWithSecureImpersonation.java b/solr/core/src/test/org/apache/solr/cloud/TestSolrCloudWithSecureImpersonation.java index 71107eed5e3..37276201967 100644 --- a/solr/core/src/test/org/apache/solr/cloud/TestSolrCloudWithSecureImpersonation.java +++ b/solr/core/src/test/org/apache/solr/cloud/TestSolrCloudWithSecureImpersonation.java @@ -25,6 +25,7 @@ import java.util.TreeMap; import java.util.concurrent.atomic.AtomicBoolean; import org.apache.hadoop.conf.Configuration; +import org.apache.lucene.util.Constants; import org.apache.solr.SolrTestCaseJ4; import org.apache.solr.client.solrj.SolrClient; import org.apache.solr.client.solrj.SolrRequest; @@ -92,6 +93,8 @@ public class TestSolrCloudWithSecureImpersonation extends SolrTestCaseJ4 { @BeforeClass public static void startup() throws Exception { + assumeFalse("Hadoop does not work on Windows", Constants.WINDOWS); + System.setProperty("authenticationPlugin", HttpParamDelegationTokenPlugin.class.getName()); System.setProperty(KerberosPlugin.DELEGATION_TOKEN_ENABLED, "true");