mirror of https://github.com/apache/lucene.git
Allow Solr startup-time to be configurable, setting the default down to 5 seconds.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@500584 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
1c738dba1f
commit
f061d45a84
|
@ -53,7 +53,7 @@ class TestSolrServer
|
|||
begin
|
||||
puts "starting solr server"
|
||||
solr_server.start
|
||||
sleep 10
|
||||
sleep params[:startup_wait] || 5
|
||||
yield
|
||||
rescue
|
||||
error = true
|
||||
|
|
Loading…
Reference in New Issue