lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From no...@apache.org
Subject lucene-solr git commit: SOLR-8029: test should randomly run on v2
Date Mon, 14 Mar 2016 12:53:04 GMT
Repository: lucene-solr
Updated Branches:
  refs/heads/apiv2 e802a4d61 -> 6c768cebc


SOLR-8029: test should randomly run on v2


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

Branch: refs/heads/apiv2
Commit: 6c768cebca2f2ca6baa3aa7546d63ad4fc6fe37f
Parents: e802a4d
Author: Noble Paul <noble@apache.org>
Authored: Mon Mar 14 18:22:49 2016 +0530
Committer: Noble Paul <noble@apache.org>
Committed: Mon Mar 14 18:22:49 2016 +0530

----------------------------------------------------------------------
 .../test/org/apache/solr/security/BasicAuthIntegrationTest.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/6c768ceb/solr/core/src/test/org/apache/solr/security/BasicAuthIntegrationTest.java
----------------------------------------------------------------------
diff --git a/solr/core/src/test/org/apache/solr/security/BasicAuthIntegrationTest.java b/solr/core/src/test/org/apache/solr/security/BasicAuthIntegrationTest.java
index 84b02ec..a29f99e 100644
--- a/solr/core/src/test/org/apache/solr/security/BasicAuthIntegrationTest.java
+++ b/solr/core/src/test/org/apache/solr/security/BasicAuthIntegrationTest.java
@@ -74,7 +74,7 @@ public class BasicAuthIntegrationTest extends TestMiniSolrCloudClusterBase
{
 
     String authcPrefix = "/admin/authentication";
     String authzPrefix = "/admin/authorization";
-    if(true){
+    if(random().nextBoolean()){
       authcPrefix = "/v2/cluster/security/authentication";
       authzPrefix = "/v2/cluster/security/authorization";
     }


Mime
View raw message