You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ab...@apache.org on 2018/06/07 12:18:27 UTC

[09/18] lucene-solr:jira/solr-12438: SOLR-12444: added more assertions to the test

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/jira/solr-12438
Commit: 9ff3f5a13614c9aefe50c84b9abc653490f536c4
Parents: 124b5e0
Author: Noble Paul <no...@apache.org>
Authored: Wed Jun 6 13:13:20 2018 +1000
Committer: Noble Paul <no...@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"));
 
   }