lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a.@apache.org
Subject lucene-solr:jira/solr-11076: SOLR-11076 Fix test assumptions.
Date Wed, 09 Aug 2017 13:57:12 GMT
Repository: lucene-solr
Updated Branches:
  refs/heads/jira/solr-11076 dd6e1e5f7 -> 8c563b767


SOLR-11076 Fix test assumptions.


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

Branch: refs/heads/jira/solr-11076
Commit: 8c563b767cc2101ca448d178ca4de123b130f1c6
Parents: dd6e1e5
Author: Andrzej Bialecki <ab@apache.org>
Authored: Wed Aug 9 15:56:50 2017 +0200
Committer: Andrzej Bialecki <ab@apache.org>
Committed: Wed Aug 9 15:56:50 2017 +0200

----------------------------------------------------------------------
 .../apache/solr/handler/admin/AutoscalingHistoryHandlerTest.java  | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/8c563b76/solr/core/src/test/org/apache/solr/handler/admin/AutoscalingHistoryHandlerTest.java
----------------------------------------------------------------------
diff --git a/solr/core/src/test/org/apache/solr/handler/admin/AutoscalingHistoryHandlerTest.java
b/solr/core/src/test/org/apache/solr/handler/admin/AutoscalingHistoryHandlerTest.java
index ba48983..e26d9d7 100644
--- a/solr/core/src/test/org/apache/solr/handler/admin/AutoscalingHistoryHandlerTest.java
+++ b/solr/core/src/test/org/apache/solr/handler/admin/AutoscalingHistoryHandlerTest.java
@@ -49,7 +49,7 @@ public class AutoscalingHistoryHandlerTest extends SolrCloudTestCase {
 
   @BeforeClass
   public static void setupCluster() throws Exception {
-    configureCluster(4)
+    configureCluster(3)
         .addConfig("conf", configset("cloud-minimal"))
         .configure();
     solrClient = cluster.getSolrClient();
@@ -221,6 +221,7 @@ public class AutoscalingHistoryHandlerTest extends SolrCloudTestCase {
     await = actionFiredLatch.await(60, TimeUnit.SECONDS);
     // wait for recovery
     waitForRecovery(PREFIX + "_collection");
+    Thread.sleep(5000);
     // commit on the history collection
     solrClient.commit(CollectionAdminParams.SYSTEM_COLL);
     query = params(CommonParams.QT, CommonParams.AUTOSCALING_HISTORY_PATH,


Mime
View raw message