spec/inputs/integration/elasticsearch_spec.rb in logstash-input-elasticsearch-4.17.1 vs spec/inputs/integration/elasticsearch_spec.rb in logstash-input-elasticsearch-4.17.2
- old
+ new
@@ -2,10 +2,10 @@
require "logstash/devutils/rspec/spec_helper"
require "logstash/plugin"
require "logstash/inputs/elasticsearch"
require_relative "../../../spec/es_helper"
-describe LogStash::Inputs::Elasticsearch do
+describe LogStash::Inputs::Elasticsearch, :integration => true do
SECURE_INTEGRATION = ENV['SECURE_INTEGRATION'].eql? 'true'
let(:config) { { 'hosts' => ["http#{SECURE_INTEGRATION ? 's' : nil}://#{ESHelper.get_host_port}"],
'index' => 'logs',