mirror of https://github.com/apache/lucene.git
harden test against slowness (again...)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1035274 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e9e615fe9f
commit
467a25a8f5
|
@ -167,7 +167,7 @@ public class CloudStateUpdateTest extends SolrTestCaseJ4 {
|
|||
cloudState2 = zkController2.getCloudState();
|
||||
slices = cloudState2.getSlices("testcore");
|
||||
|
||||
if (slices.containsKey(host + ":1661_solr_testcore")) {
|
||||
if (slices != null && slices.containsKey(host + ":1661_solr_testcore")) {
|
||||
break;
|
||||
}
|
||||
Thread.sleep(500);
|
||||
|
|
Loading…
Reference in New Issue