mirror of
https://github.com/elastic/logstash.git
synced 2025-04-23 22:27:21 -04:00
parent
475afda874
commit
f523f0a063
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue