Fixed support of ES_INDEX_RAND.
This commit is contained in:
parent
b2bfeff55a
commit
c1c1930bdc
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ class ReportTest < ActiveSupport::TestCase
|
|||
fail "ERROR: Need ES_URL - hint ES_URL='http://172.0.0.1:9200'"
|
||||
end
|
||||
Setting.set('es_url', ENV['ES_URL'])
|
||||
if !ENV['ES_INDEX']
|
||||
if !ENV['ES_INDEX'] && !ENV['ES_INDEX_RAND']
|
||||
fail "ERROR: Need ES_INDEX - hint ES_INDEX='estest.local_zammad'"
|
||||
end
|
||||
if ENV['ES_INDEX_RAND']
|
||||
|
|
Loading…
Reference in a new issue