You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by no...@apache.org on 2018/01/15 13:25:04 UTC

lucene-solr:master: SOLR-11063: fixed test failure.

Repository: lucene-solr
Updated Branches:
  refs/heads/master f7f0ed1fc -> e4438a2bb


SOLR-11063: fixed test failure.


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

Branch: refs/heads/master
Commit: e4438a2bb7c0a4c22d8bf65078691e6dec8f5ba0
Parents: f7f0ed1
Author: Noble Paul <no...@apache.org>
Authored: Tue Jan 16 00:24:55 2018 +1100
Committer: Noble Paul <no...@apache.org>
Committed: Tue Jan 16 00:24:55 2018 +1100

----------------------------------------------------------------------
 .../org/apache/solr/client/solrj/cloud/autoscaling/Policy.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/e4438a2b/solr/solrj/src/java/org/apache/solr/client/solrj/cloud/autoscaling/Policy.java
----------------------------------------------------------------------
diff --git a/solr/solrj/src/java/org/apache/solr/client/solrj/cloud/autoscaling/Policy.java b/solr/solrj/src/java/org/apache/solr/client/solrj/cloud/autoscaling/Policy.java
index 15c63b8..4697572 100644
--- a/solr/solrj/src/java/org/apache/solr/client/solrj/cloud/autoscaling/Policy.java
+++ b/solr/solrj/src/java/org/apache/solr/client/solrj/cloud/autoscaling/Policy.java
@@ -201,7 +201,7 @@ public class Policy implements MapWriter {
     if (!getPolicies().equals(policy.getPolicies())) return false;
     if (!getClusterPolicy().equals(policy.getClusterPolicy())) return false;
     if (!getClusterPreferences().equals(policy.getClusterPreferences())) return false;
-    return params.equals(policy.params);
+    return true;
   }
 
   /*This stores the logical state of the system, given a policy and