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:
Mark Robert Miller 2012-12-12 20:34:37 +00:00
parent 078623d375
commit 63350f0a52
1 changed files with 2 additions and 0 deletions

View File

@ -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");