lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From no...@apache.org
Subject lucene-solr:master: SOLR-12444: added more assertions to the test
Date Wed, 06 Jun 2018 03:13:30 GMT
Repository: lucene-solr
Updated Branches:
  refs/heads/master 124b5e047 -> 9ff3f5a13


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/9ff3f5a1
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/9ff3f5a1
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/9ff3f5a1

Branch: refs/heads/master
Commit: 9ff3f5a13614c9aefe50c84b9abc653490f536c4
Parents: 124b5e0
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:13:20 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/9ff3f5a1/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