mirror of
https://github.com/elastic/logstash.git
synced 2025-04-23 22:27:21 -04:00
Fix 'cleanup' step to properly delete all data.
In elasticsearch 1.0, the "DELETE /" request is now rejected by default. So instead, we will "DELETE /*"
This commit is contained in:
parent
e9219cdc18
commit
06899c3940
1 changed files with 1 additions and 1 deletions
|
@ -176,7 +176,7 @@ describe "outputs/elasticsearch_http" do
|
|||
before :each do
|
||||
require "elasticsearch"
|
||||
@es = Elasticsearch::Client.new
|
||||
@es.indices.delete
|
||||
@es.indices.delete(:index => "*")
|
||||
|
||||
subject.receive(LogStash::Event.new("message" => "sample message here"))
|
||||
subject.receive(LogStash::Event.new("somevalue" => 100))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue