diff --git a/qa/acceptance/spec/lib/artifact_composition_spec.rb b/qa/acceptance/spec/lib/artifact_composition_spec.rb index 920e4b658..f388ac68a 100644 --- a/qa/acceptance/spec/lib/artifact_composition_spec.rb +++ b/qa/acceptance/spec/lib/artifact_composition_spec.rb @@ -22,6 +22,7 @@ describe "artifacts composition" do before(:each) do logstash.install({:version => LOGSTASH_VERSION}) + logstash.write_default_pipeline end after(:each) do diff --git a/qa/acceptance/spec/shared_examples/cli/logstash-plugin/generate.rb b/qa/acceptance/spec/shared_examples/cli/logstash-plugin/generate.rb index f2b1b310e..7a7382da6 100644 --- a/qa/acceptance/spec/shared_examples/cli/logstash-plugin/generate.rb +++ b/qa/acceptance/spec/shared_examples/cli/logstash-plugin/generate.rb @@ -22,6 +22,7 @@ require "fileutils" shared_examples "logstash generate" do |logstash| before(:each) do logstash.install({:version => LOGSTASH_VERSION}) + logstash.write_default_pipeline end after(:each) do diff --git a/qa/acceptance/spec/shared_examples/cli/logstash-plugin/install.rb b/qa/acceptance/spec/shared_examples/cli/logstash-plugin/install.rb index 3d24c7ea7..076e8c0c9 100644 --- a/qa/acceptance/spec/shared_examples/cli/logstash-plugin/install.rb +++ b/qa/acceptance/spec/shared_examples/cli/logstash-plugin/install.rb @@ -22,6 +22,7 @@ require "fileutils" shared_examples "logstash install" do |logstash| before(:each) do logstash.install({:version => LOGSTASH_VERSION}) + logstash.write_default_pipeline end after(:each) do diff --git a/qa/acceptance/spec/shared_examples/cli/logstash-plugin/integration_plugin.rb b/qa/acceptance/spec/shared_examples/cli/logstash-plugin/integration_plugin.rb index e2eb7d34e..b087f95c6 100644 --- a/qa/acceptance/spec/shared_examples/cli/logstash-plugin/integration_plugin.rb +++ b/qa/acceptance/spec/shared_examples/cli/logstash-plugin/integration_plugin.rb @@ -24,6 +24,7 @@ shared_examples "integration plugins compatible" do |logstash| let(:plugin) { "logstash-integration-rabbitmq" } before :each do logstash.install({:version => LOGSTASH_VERSION}) + logstash.write_default_pipeline end after :each do @@ -60,6 +61,7 @@ shared_examples "integration plugins compatible" do |logstash| let(:plugin) { "logstash-integration-rabbitmq" } before :each do logstash.install({:version => LOGSTASH_VERSION}) + logstash.write_default_pipeline end after :each do @@ -83,6 +85,7 @@ shared_examples "integration plugins compatible" do |logstash| let(:plugin) { "logstash-integration-rabbitmq" } before :each do logstash.install({:version => LOGSTASH_VERSION}) + logstash.write_default_pipeline end after :each do diff --git a/qa/acceptance/spec/shared_examples/cli/logstash-plugin/list.rb b/qa/acceptance/spec/shared_examples/cli/logstash-plugin/list.rb index 45db82b7c..7f1d56574 100644 --- a/qa/acceptance/spec/shared_examples/cli/logstash-plugin/list.rb +++ b/qa/acceptance/spec/shared_examples/cli/logstash-plugin/list.rb @@ -23,6 +23,7 @@ shared_examples "logstash list" do |logstash| describe "logstash-plugin list on [#{logstash.human_name}]" do before(:all) do logstash.install({:version => LOGSTASH_VERSION}) + logstash.write_default_pipeline end after(:all) do diff --git a/qa/acceptance/spec/shared_examples/cli/logstash-plugin/remove.rb b/qa/acceptance/spec/shared_examples/cli/logstash-plugin/remove.rb index d05d16cca..3f9651e1d 100644 --- a/qa/acceptance/spec/shared_examples/cli/logstash-plugin/remove.rb +++ b/qa/acceptance/spec/shared_examples/cli/logstash-plugin/remove.rb @@ -23,6 +23,7 @@ shared_examples "logstash remove" do |logstash| describe "logstash-plugin remove on [#{logstash.human_name}]" do before :each do logstash.install({:version => LOGSTASH_VERSION}) + logstash.write_default_pipeline end after :each do diff --git a/qa/acceptance/spec/shared_examples/cli/logstash-plugin/uninstall.rb b/qa/acceptance/spec/shared_examples/cli/logstash-plugin/uninstall.rb index a1f1fe20e..df7f32022 100644 --- a/qa/acceptance/spec/shared_examples/cli/logstash-plugin/uninstall.rb +++ b/qa/acceptance/spec/shared_examples/cli/logstash-plugin/uninstall.rb @@ -23,6 +23,7 @@ shared_examples "logstash uninstall" do |logstash| describe "logstash-plugin uninstall on [#{logstash.human_name}]" do before :each do logstash.install({:version => LOGSTASH_VERSION}) + logstash.write_default_pipeline end after :each do diff --git a/qa/acceptance/spec/shared_examples/cli/logstash-plugin/update.rb b/qa/acceptance/spec/shared_examples/cli/logstash-plugin/update.rb index 45589217a..09e523414 100644 --- a/qa/acceptance/spec/shared_examples/cli/logstash-plugin/update.rb +++ b/qa/acceptance/spec/shared_examples/cli/logstash-plugin/update.rb @@ -22,6 +22,7 @@ shared_examples "logstash update" do |logstash| describe "logstash-plugin update on [#{logstash.human_name}]" do before :each do logstash.install({:version => LOGSTASH_VERSION}) + logstash.write_default_pipeline end after :each do diff --git a/qa/acceptance/spec/shared_examples/cli/logstash/version.rb b/qa/acceptance/spec/shared_examples/cli/logstash/version.rb index 22446ae1b..00ca1c6e2 100644 --- a/qa/acceptance/spec/shared_examples/cli/logstash/version.rb +++ b/qa/acceptance/spec/shared_examples/cli/logstash/version.rb @@ -22,6 +22,7 @@ shared_examples "logstash version" do |logstash| describe "logstash --version" do before :all do logstash.install({:version => LOGSTASH_VERSION}) + logstash.write_default_pipeline end after :all do diff --git a/qa/acceptance/spec/shared_examples/running.rb b/qa/acceptance/spec/shared_examples/running.rb index 1fa2413f9..9bb8951a2 100644 --- a/qa/acceptance/spec/shared_examples/running.rb +++ b/qa/acceptance/spec/shared_examples/running.rb @@ -22,6 +22,7 @@ require 'logstash/version' RSpec.shared_examples "runnable" do |logstash| before(:each) do logstash.install({:version => LOGSTASH_VERSION}) + logstash.write_default_pipeline end it "is running on [#{logstash.human_name}]" do diff --git a/qa/acceptance/spec/shared_examples/updated.rb b/qa/acceptance/spec/shared_examples/updated.rb index 211a69920..92b36affc 100644 --- a/qa/acceptance/spec/shared_examples/updated.rb +++ b/qa/acceptance/spec/shared_examples/updated.rb @@ -37,12 +37,14 @@ RSpec.shared_examples "updated" do |logstash, from_release_branch| logstash.download(url, dest) options = {:version => latest_logstash_release_version, :snapshot => false, :base => "./", :skip_jdk_infix => false } logstash.install(options) + logstash.write_default_pipeline end it "can be updated and run on [#{logstash.human_name}]" do expect(logstash).to be_installed # Performing the update logstash.install({:version => LOGSTASH_VERSION}) + logstash.write_default_pipeline expect(logstash).to be_installed # starts the service to be sure it runs after the upgrade with_running_logstash_service(logstash) do