mirror of https://github.com/apache/lucene.git
tests: raise wait time
This commit is contained in:
parent
f2f484680f
commit
6c9391df01
|
@ -95,7 +95,7 @@ public class ZkStateReaderTest extends SolrTestCaseJ4 {
|
|||
if (explicitRefresh) {
|
||||
reader.forceUpdateCollection("c1");
|
||||
} else {
|
||||
for (int i = 0; i < 500; ++i) {
|
||||
for (int i = 0; i < 1000; ++i) {
|
||||
if (reader.getClusterState().hasCollection("c1")) {
|
||||
break;
|
||||
}
|
||||
|
@ -123,7 +123,7 @@ public class ZkStateReaderTest extends SolrTestCaseJ4 {
|
|||
if (explicitRefresh) {
|
||||
reader.forceUpdateCollection("c1");
|
||||
} else {
|
||||
for (int i = 0; i < 500; ++i) {
|
||||
for (int i = 0; i < 1000; ++i) {
|
||||
if (reader.getClusterState().getCollection("c1").getStateFormat() == 2) {
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue