lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From markrmil...@apache.org
Subject lucene-solr:branch_7x: SOLR-12801: Harden TestSimLargeCluster.
Date Tue, 11 Dec 2018 20:17:26 GMT
Repository: lucene-solr
Updated Branches:
  refs/heads/branch_7x 01ad36d53 -> 84abb2488


SOLR-12801: Harden TestSimLargeCluster.


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

Branch: refs/heads/branch_7x
Commit: 84abb24886832dbd3aec32bf8acfe3d9de3b9d4f
Parents: 01ad36d
Author: markrmiller <markrmiller@apache.org>
Authored: Tue Dec 11 13:53:28 2018 -0600
Committer: markrmiller <markrmiller@apache.org>
Committed: Tue Dec 11 13:53:37 2018 -0600

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


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/84abb248/solr/core/src/test/org/apache/solr/cloud/autoscaling/sim/TestSimLargeCluster.java
----------------------------------------------------------------------
diff --git a/solr/core/src/test/org/apache/solr/cloud/autoscaling/sim/TestSimLargeCluster.java
b/solr/core/src/test/org/apache/solr/cloud/autoscaling/sim/TestSimLargeCluster.java
index 8e34255..c8527e1 100644
--- a/solr/core/src/test/org/apache/solr/cloud/autoscaling/sim/TestSimLargeCluster.java
+++ b/solr/core/src/test/org/apache/solr/cloud/autoscaling/sim/TestSimLargeCluster.java
@@ -701,7 +701,7 @@ public class TestSimLargeCluster extends SimSolrCloudTestCase {
     
     assertNotNull(listenerEvents.entrySet().toString(), listenerEvents.get("srt"));
 
-    assertTrue(listenerEvents.toString(), listenerEvents.get("srt").size() >= 1);
+    assertTrue(listenerEvents.entrySet().toString(), listenerEvents.get("srt").size() >=
1);
 
     CapturedEvent ev = listenerEvents.get("srt").get(0);
     assertEquals(TriggerEventType.SEARCHRATE, ev.event.getEventType());


Mime
View raw message