From c1c1930bdc3dc79415e4b7346c56d14aedc356a7 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Tue, 26 Jan 2016 17:03:32 +0100 Subject: [PATCH] Fixed support of ES_INDEX_RAND. --- test/integration/report_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/report_test.rb b/test/integration/report_test.rb index 6f887f246..960cd748d 100644 --- a/test/integration/report_test.rb +++ b/test/integration/report_test.rb @@ -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']