lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a.@apache.org
Subject lucene-solr:master: SOLR-13050: Fix the test so that .system events are collected again.
Date Wed, 02 Jan 2019 21:12:48 GMT
Repository: lucene-solr
Updated Branches:
  refs/heads/master a1c6e642a -> e5fda5d6f


SOLR-13050: Fix the test so that .system events are collected again.


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

Branch: refs/heads/master
Commit: e5fda5d6f1cc6010e6b3565aa4bd70be31621692
Parents: a1c6e64
Author: Andrzej Bialecki <ab@apache.org>
Authored: Wed Jan 2 22:11:57 2019 +0100
Committer: Andrzej Bialecki <ab@apache.org>
Committed: Wed Jan 2 22:11:57 2019 +0100

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


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/e5fda5d6/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 b4dda1b..7834c70 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
@@ -98,7 +98,8 @@ public class TestSimLargeCluster extends SimSolrCloudTestCase {
     // disable .auto_add_replicas (once it exists)
     CloudTestUtils.waitForTriggerToBeScheduled(cluster, ".auto_add_replicas");
     CloudTestUtils.suspendTrigger(cluster, ".auto_add_replicas");
-    
+    cluster.getSimClusterStateProvider().createSystemCollection();
+
     waitForSeconds = 5;
     triggerStartedCount.set(0);
     triggerFinishedCount.set(0);


Mime
View raw message