mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 14:47:19 -04:00
MINOR: Exclude JAVA_OPT* line from matching in prepare_offline_pack_spec
Fixes #8182
This commit is contained in:
parent
e92b33887e
commit
8edf9402c4
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue