You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ab...@apache.org on 2017/02/09 20:09:31 UTC

[14/50] lucene-solr:jira/solr-9858: SOLR-10064: The Nightly test HdfsCollectionsAPIDistributedZkTest appears to be too fragile.

SOLR-10064: The Nightly test HdfsCollectionsAPIDistributedZkTest appears to be too fragile.


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

Branch: refs/heads/jira/solr-9858
Commit: 52b1ae33a10ce94b599156a0c0cc5078899a9750
Parents: f5c6c3b
Author: markrmiller <ma...@apache.org>
Authored: Thu Feb 2 13:21:23 2017 -0500
Committer: markrmiller <ma...@apache.org>
Committed: Thu Feb 2 15:12:07 2017 -0500

----------------------------------------------------------------------
 .../org/apache/solr/cloud/CollectionsAPIDistributedZkTest.java     | 2 +-
 .../src/java/org/apache/solr/cloud/SolrCloudTestCase.java          | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/52b1ae33/solr/core/src/test/org/apache/solr/cloud/CollectionsAPIDistributedZkTest.java
----------------------------------------------------------------------
diff --git a/solr/core/src/test/org/apache/solr/cloud/CollectionsAPIDistributedZkTest.java b/solr/core/src/test/org/apache/solr/cloud/CollectionsAPIDistributedZkTest.java
index 7586f2a..132d071 100644
--- a/solr/core/src/test/org/apache/solr/cloud/CollectionsAPIDistributedZkTest.java
+++ b/solr/core/src/test/org/apache/solr/cloud/CollectionsAPIDistributedZkTest.java
@@ -366,7 +366,7 @@ public class CollectionsAPIDistributedZkTest extends SolrCloudTestCase {
       cluster.getSolrClient().request(createCmd);
     });
 
-    TimeUnit.MILLISECONDS.sleep(200);
+    TimeUnit.MILLISECONDS.sleep(1000);
     // in both cases, the collection should have default to the core name
     cloudClient.getZkStateReader().forceUpdateCollection("corewithnocollection3");
 

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/52b1ae33/solr/test-framework/src/java/org/apache/solr/cloud/SolrCloudTestCase.java
----------------------------------------------------------------------
diff --git a/solr/test-framework/src/java/org/apache/solr/cloud/SolrCloudTestCase.java b/solr/test-framework/src/java/org/apache/solr/cloud/SolrCloudTestCase.java
index 34dc8ac..7fc8257 100644
--- a/solr/test-framework/src/java/org/apache/solr/cloud/SolrCloudTestCase.java
+++ b/solr/test-framework/src/java/org/apache/solr/cloud/SolrCloudTestCase.java
@@ -70,7 +70,7 @@ import org.junit.Before;
  */
 public class SolrCloudTestCase extends SolrTestCaseJ4 {
 
-  public static final int DEFAULT_TIMEOUT = 30;
+  public static final int DEFAULT_TIMEOUT = 60;
 
   private static class Config {
     final String name;