lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gcha...@apache.org
Subject lucene-solr:master: SOLR-9200: Prepare Locale before starting MiniKdc
Date Tue, 02 Aug 2016 15:37:27 GMT
Repository: lucene-solr
Updated Branches:
  refs/heads/master 209bfcf02 -> c60cd2529


SOLR-9200: Prepare Locale before starting MiniKdc


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/c60cd252
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/c60cd252
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/c60cd252

Branch: refs/heads/master
Commit: c60cd2529b9c9d3e57e23e67e7c55a75269a23f9
Parents: 209bfcf
Author: Gregory Chanan <gchanan@cloudera.com>
Authored: Tue Aug 2 11:27:12 2016 -0400
Committer: Gregory Chanan <gchanan@cloudera.com>
Committed: Tue Aug 2 11:36:45 2016 -0400

----------------------------------------------------------------------
 .../src/test/org/apache/solr/cloud/KerberosTestServices.java  | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/c60cd252/solr/core/src/test/org/apache/solr/cloud/KerberosTestServices.java
----------------------------------------------------------------------
diff --git a/solr/core/src/test/org/apache/solr/cloud/KerberosTestServices.java b/solr/core/src/test/org/apache/solr/cloud/KerberosTestServices.java
index 1d7a4ab..6295ddd 100644
--- a/solr/core/src/test/org/apache/solr/cloud/KerberosTestServices.java
+++ b/solr/core/src/test/org/apache/solr/cloud/KerberosTestServices.java
@@ -52,12 +52,13 @@ public class KerberosTestServices {
   }
 
   public void start() throws Exception {
-    if (kdc != null) kdc.start();
-    Configuration.setConfiguration(jaasConfiguration);
-    Krb5HttpClientBuilder.regenerateJaasConfiguration();
     if (brokenLanguagesWithMiniKdc.contains(Locale.getDefault().getLanguage())) {
       Locale.setDefault(Locale.US);
     }
+
+    if (kdc != null) kdc.start();
+    Configuration.setConfiguration(jaasConfiguration);
+    Krb5HttpClientBuilder.regenerateJaasConfiguration();
   }
 
   public void stop() {


Mime
View raw message