lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From da...@apache.org
Subject [28/47] lucene-solr:jira/http2: SOLR-12801: Harden CollectionsAPISolrJTest#testCreateCollWithDefaultClusterPropertiesOldFormat.
Date Tue, 11 Dec 2018 09:27:57 GMT
SOLR-12801: Harden CollectionsAPISolrJTest#testCreateCollWithDefaultClusterPropertiesOldFormat.


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

Branch: refs/heads/jira/http2
Commit: 665517d3bff736e356643f5c7978c0e10b1ce18b
Parents: 1d5ae98
Author: markrmiller <markrmiller@apache.org>
Authored: Sun Dec 9 18:50:47 2018 -0600
Committer: markrmiller <markrmiller@apache.org>
Committed: Sun Dec 9 18:50:47 2018 -0600

----------------------------------------------------------------------
 .../src/test/org/apache/solr/cloud/CollectionsAPISolrJTest.java   | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/665517d3/solr/core/src/test/org/apache/solr/cloud/CollectionsAPISolrJTest.java
----------------------------------------------------------------------
diff --git a/solr/core/src/test/org/apache/solr/cloud/CollectionsAPISolrJTest.java b/solr/core/src/test/org/apache/solr/cloud/CollectionsAPISolrJTest.java
index 0925eee..166748e 100644
--- a/solr/core/src/test/org/apache/solr/cloud/CollectionsAPISolrJTest.java
+++ b/solr/core/src/test/org/apache/solr/cloud/CollectionsAPISolrJTest.java
@@ -75,7 +75,6 @@ public class CollectionsAPISolrJTest extends SolrCloudTestCase {
     
     // clear any persisted auto scaling configuration
     zkClient().setData(SOLR_AUTOSCALING_CONF_PATH, Utils.toJSON(new ZkNodeProps()), true);
-    cluster.deleteAllCollections();
     
     final ClusterProperties props = new ClusterProperties(zkClient());
     CollectionAdminRequest.setClusterProperty(ZkStateReader.LEGACY_CLOUD, null).process(cluster.getSolrClient());
@@ -130,7 +129,7 @@ public class CollectionsAPISolrJTest extends SolrCloudTestCase {
           .build()
           .process(cluster.getSolrClient());
 
-      for (int i = 0; i < 30; i++) {
+      for (int i = 0; i < 300; i++) {
         Map m = cluster.getSolrClient().getZkStateReader().getClusterProperty(COLLECTION_DEF,
null);
         if (m != null) break;
         Thread.sleep(10);


Mime
View raw message