You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by sh...@apache.org on 2018/10/16 06:44:27 UTC
lucene-solr:master: SOLR-12739: Clear all collections in
TestCollectionStateWatchers setup so that the collections created by test
methods are spread evenly in the cluster.
Repository: lucene-solr
Updated Branches:
refs/heads/master 8d3810df5 -> aa0a5289e
SOLR-12739: Clear all collections in TestCollectionStateWatchers setup so that the collections created by test methods are spread evenly in the cluster.
Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/aa0a5289
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/aa0a5289
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/aa0a5289
Branch: refs/heads/master
Commit: aa0a5289e692286297762d54434ae726333a5b64
Parents: 8d3810d
Author: Shalin Shekhar Mangar <sh...@apache.org>
Authored: Tue Oct 16 12:14:08 2018 +0530
Committer: Shalin Shekhar Mangar <sh...@apache.org>
Committed: Tue Oct 16 12:14:22 2018 +0530
----------------------------------------------------------------------
.../org/apache/solr/common/cloud/TestCollectionStateWatchers.java | 1 +
1 file changed, 1 insertion(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/aa0a5289/solr/solrj/src/test/org/apache/solr/common/cloud/TestCollectionStateWatchers.java
----------------------------------------------------------------------
diff --git a/solr/solrj/src/test/org/apache/solr/common/cloud/TestCollectionStateWatchers.java b/solr/solrj/src/test/org/apache/solr/common/cloud/TestCollectionStateWatchers.java
index 51ee814..63f7b3e 100644
--- a/solr/solrj/src/test/org/apache/solr/common/cloud/TestCollectionStateWatchers.java
+++ b/solr/solrj/src/test/org/apache/solr/common/cloud/TestCollectionStateWatchers.java
@@ -62,6 +62,7 @@ public class TestCollectionStateWatchers extends SolrCloudTestCase {
@Before
public void prepareCluster() throws Exception {
+ cluster.deleteAllCollections();
int missingServers = CLUSTER_SIZE - cluster.getJettySolrRunners().size();
for (int i = 0; i < missingServers; i++) {
cluster.startJettySolrRunner();