mirror of https://github.com/apache/lucene.git
try a 300ms wait on startup to be sure our core(s) have loaded
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1420954 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
078623d375
commit
63350f0a52
|
@ -237,6 +237,8 @@ public class JettySolrRunner {
|
||||||
throw new RuntimeException("Jetty/Solr unresponsive");
|
throw new RuntimeException("Jetty/Solr unresponsive");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
this.wait(300); // always 100ms - can take a moment for our cores to come up
|
||||||
}
|
}
|
||||||
|
|
||||||
System.clearProperty("shard");
|
System.clearProperty("shard");
|
||||||
|
|
Loading…
Reference in New Issue