tag :elasticsearch for exclusion

This commit is contained in:
Colin Surprenant 2014-03-14 11:05:29 -04:00
parent a633afb67c
commit 74a214e39c
2 changed files with 6 additions and 6 deletions

View file

@ -1,7 +1,7 @@
require "test_utils"
require "ftw"
describe "outputs/elasticsearch" do
describe "outputs/elasticsearch", :elasticsearch => true do
extend LogStash::RSpec
describe "ship lots of events w/ default index_type" do
@ -330,9 +330,9 @@ describe "outputs/elasticsearch" do
terms = results["terms"].collect { |t| t["term"] }
insist { terms }.include?("us")
# 'at' is a stopword, make sure stopwords are not ignored.
insist { terms }.include?("at")
insist { terms }.include?("at")
end
end
end

View file

@ -1,6 +1,6 @@
require "test_utils"
describe "outputs/elasticsearch_http" do
describe "outputs/elasticsearch_http", :elasticsearch => true do
extend LogStash::RSpec
describe "ship lots of events w/ default index_type" do
@ -232,9 +232,9 @@ describe "outputs/elasticsearch_http" do
terms = results["terms"].collect { |t| t["term"] }
insist { terms }.include?("us")
# 'at' is a stopword, make sure stopwords are not ignored.
insist { terms }.include?("at")
insist { terms }.include?("at")
end
end
end