From 8edf9402c48eae849b64bc32488f86e9fb1b3079 Mon Sep 17 00:00:00 2001 From: Armin Date: Fri, 8 Sep 2017 10:27:03 +0200 Subject: [PATCH] MINOR: Exclude JAVA_OPT* line from matching in prepare_offline_pack_spec Fixes #8182 --- qa/integration/specs/cli/prepare_offline_pack_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qa/integration/specs/cli/prepare_offline_pack_spec.rb b/qa/integration/specs/cli/prepare_offline_pack_spec.rb index bae0469f2..6080a92c4 100644 --- a/qa/integration/specs/cli/prepare_offline_pack_spec.rb +++ b/qa/integration/specs/cli/prepare_offline_pack_spec.rb @@ -54,7 +54,7 @@ describe "CLI > logstash-plugin prepare-offline-pack", :offline => true do unpacked = unpack(temporary_zip_file) - filters = @logstash_plugin.list(plugins_to_pack.first).stderr_and_stdout.split("\n").delete_if { |f| f =~ /cext/ } + filters = @logstash_plugin.list(plugins_to_pack.first).stderr_and_stdout.split("\n").delete_if { |f| f =~ /cext/ || f =~ /JAVA_OPT/ } expect(unpacked.plugins.collect(&:name)).to include(*filters) expect(unpacked.plugins.size).to eq(filters.size)