From 4b50c6f9acf0c413ad58b022285319dbff2f6c65 Mon Sep 17 00:00:00 2001 From: markrmiller Date: Wed, 13 Apr 2016 09:56:40 -0400 Subject: [PATCH] tests: raise wait time --- .../org/apache/solr/cloud/overseer/ZkStateReaderTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/solr/core/src/test/org/apache/solr/cloud/overseer/ZkStateReaderTest.java b/solr/core/src/test/org/apache/solr/cloud/overseer/ZkStateReaderTest.java index 10cc46c5165..4b60fc6031e 100644 --- a/solr/core/src/test/org/apache/solr/cloud/overseer/ZkStateReaderTest.java +++ b/solr/core/src/test/org/apache/solr/cloud/overseer/ZkStateReaderTest.java @@ -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; }