lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From no...@apache.org
Subject lucene-solr:branch_7x: SOLR-12444: added more assertions to the test
Date Wed, 06 Jun 2018 03:15:27 GMT
Repository: lucene-solr
Updated Branches:
  refs/heads/branch_7x 7d827c627 -> 45dda7432


SOLR-12444: added more assertions to the test


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

Branch: refs/heads/branch_7x
Commit: 45dda74329204c9f86eeec808fa10f80b6a3b966
Parents: 7d827c6
Author: Noble Paul <noble@apache.org>
Authored: Wed Jun 6 13:13:20 2018 +1000
Committer: Noble Paul <noble@apache.org>
Committed: Wed Jun 6 13:15:11 2018 +1000

----------------------------------------------------------------------
 .../apache/solr/cloud/autoscaling/AutoScalingHandlerTest.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/45dda743/solr/core/src/test/org/apache/solr/cloud/autoscaling/AutoScalingHandlerTest.java
----------------------------------------------------------------------
diff --git a/solr/core/src/test/org/apache/solr/cloud/autoscaling/AutoScalingHandlerTest.java
b/solr/core/src/test/org/apache/solr/cloud/autoscaling/AutoScalingHandlerTest.java
index cf11953..cf57c48 100644
--- a/solr/core/src/test/org/apache/solr/cloud/autoscaling/AutoScalingHandlerTest.java
+++ b/solr/core/src/test/org/apache/solr/cloud/autoscaling/AutoScalingHandlerTest.java
@@ -1027,8 +1027,8 @@ public class AutoScalingHandlerTest extends SolrCloudTestCase {
     solrClient.request(createAutoScalingRequest(SolrRequest.METHOD.POST, setPropertiesCommand));
     req = createAutoScalingRequest(SolrRequest.METHOD.GET, null);
     response = solrClient.request(req);
-    System.out.println(response);
-
+    assertEquals("<3", Utils.getObjectByPath(response,false,"cluster-policy[0]/cores"));
+    assertEquals("#ANY", Utils.getObjectByPath(response,false,"cluster-policy[0]/node"));
 
   }
 


Mime
View raw message