Remove the rescue so we can see what errors we get

Closes #1931
This commit is contained in:
Suyog Rao 2014-10-21 17:20:16 -07:00
parent 475afda874
commit f523f0a063

View file

@ -281,8 +281,7 @@ describe "outputs/elasticsearch" do
@es = Elasticsearch::Client.new
@es.indices.delete_template(:name => "*")
# This can fail if there are no indexes, ignore failure.
@es.indices.delete(:index => "*") rescue nil
@es.indices.delete(:index => "*")
subject.register