mirror of https://github.com/apache/lucene.git
speed up this test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1331009 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
606205c642
commit
325c83e650
|
@ -696,7 +696,7 @@ public class OverseerTest extends SolrTestCaseJ4 {
|
|||
reader = new ZkStateReader(controllerClient);
|
||||
reader.createClusterStateWatchersAndUpdate();
|
||||
|
||||
for (int i = 0; i < 20; i++) {
|
||||
for (int i = 0; i < atLeast(4); i++) {
|
||||
mockController = new MockZKController(server.getZkAddress(), "node1", "collection1");
|
||||
mockController.publishState("core1", "state1",1);
|
||||
if(mockController2!=null) {
|
||||
|
|
Loading…
Reference in New Issue