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:52 UTC

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

Repository: lucene-solr
Updated Branches:
  refs/heads/branch_7x b94ea4cb0 -> 520a4cdf0


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

Branch: refs/heads/branch_7x
Commit: 520a4cdf0a66cf5810a702bcf32c0f4a6541c0fb
Parents: b94ea4c
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:25:35 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/520a4cdf/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