mirror of https://github.com/apache/lucene.git
SOLR-10064: The Nightly test HdfsCollectionsAPIDistributedZkTest appears to be too fragile.
This commit is contained in:
parent
f5c6c3b796
commit
52b1ae33a1
|
@ -366,7 +366,7 @@ public class CollectionsAPIDistributedZkTest extends SolrCloudTestCase {
|
||||||
cluster.getSolrClient().request(createCmd);
|
cluster.getSolrClient().request(createCmd);
|
||||||
});
|
});
|
||||||
|
|
||||||
TimeUnit.MILLISECONDS.sleep(200);
|
TimeUnit.MILLISECONDS.sleep(1000);
|
||||||
// in both cases, the collection should have default to the core name
|
// in both cases, the collection should have default to the core name
|
||||||
cloudClient.getZkStateReader().forceUpdateCollection("corewithnocollection3");
|
cloudClient.getZkStateReader().forceUpdateCollection("corewithnocollection3");
|
||||||
|
|
||||||
|
|
|
@ -70,7 +70,7 @@ import org.junit.Before;
|
||||||
*/
|
*/
|
||||||
public class SolrCloudTestCase extends SolrTestCaseJ4 {
|
public class SolrCloudTestCase extends SolrTestCaseJ4 {
|
||||||
|
|
||||||
public static final int DEFAULT_TIMEOUT = 30;
|
public static final int DEFAULT_TIMEOUT = 60;
|
||||||
|
|
||||||
private static class Config {
|
private static class Config {
|
||||||
final String name;
|
final String name;
|
||||||
|
|
Loading…
Reference in New Issue