mirror of
https://github.com/elastic/logstash.git
synced 2025-04-23 22:27:21 -04:00
- Blow away templates first
This commit is contained in:
parent
beb8512f46
commit
c5729ecbd5
1 changed files with 1 additions and 1 deletions
|
@ -161,13 +161,13 @@ describe "outputs/elasticsearch_http" do
|
|||
|
||||
describe "index template expected behavior" do
|
||||
subject do
|
||||
Elasticsearch::Client.new.indices.delete_template(:name => "*")
|
||||
require "logstash/outputs/elasticsearch_http"
|
||||
settings = {
|
||||
"manage_template" => true,
|
||||
"template_overwrite" => true,
|
||||
"host" => "localhost"
|
||||
}
|
||||
Elasticsearch::Client.new.indices.delete_template(:name => "*")
|
||||
output = LogStash::Outputs::ElasticSearchHTTP.new(settings)
|
||||
output.register
|
||||
next output
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue