From 6c9391df01bafe35b6e6f7d351f483b5242cb937 Mon Sep 17 00:00:00 2001 From: markrmiller Date: Wed, 13 Apr 2016 09:54:16 -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 3c45e2327e1..8581995d5e9 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 @@ -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; }