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