mirror of https://github.com/apache/lucene.git
SOLR-3080: I saw this fail few times, increase sleep time
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1293116 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
effbca10e2
commit
61387fe283
|
@ -220,7 +220,7 @@ public class ZkControllerTest extends SolrTestCaseJ4 {
|
|||
assertNotNull("New leader was null.",
|
||||
reader.getLeaderUrl("collection1", "shard1", 15000));
|
||||
|
||||
Thread.sleep(1000);
|
||||
Thread.sleep(2000);
|
||||
assertEquals("shard was not unregistered", 1, zkController.getZkStateReader().getCloudState().getSlice("collection1", "shard1").getShards().size());
|
||||
} finally {
|
||||
if (DEBUG) {
|
||||
|
|
Loading…
Reference in New Issue