add elasticsearch spec tag to exclude on external ES dependency

Fixes #1920
This commit is contained in:
Colin Surprenant 2014-10-20 13:52:44 -04:00 committed by Jordan Sissel
parent fefe61ac1c
commit b7f33f6f70

View file

@ -4,7 +4,7 @@ require "logstash/plugin"
require "logstash/json"
describe "outputs/elasticsearch" do
it "should register" do
output = LogStash::Plugin.lookup("output", "elasticsearch").new("embedded" => "false", "protocol" => "transport", "manage_template" => "false")
@ -347,7 +347,7 @@ describe "outputs/elasticsearch" do
end
end
describe "elasticsearch protocol" do
describe "elasticsearch protocol", :elasticsearch => true do
# ElasticSearch related jars
LogStash::Environment.load_elasticsearch_jars!
# Load elasticsearch protocol