mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 06:37:19 -04:00
Test fix: ensure 'fatal: Not a git repository' is not picked up as expectation integration test Fixes #8319
Fixes #8320
This commit is contained in:
parent
fc1b548a87
commit
bc4f57cd02
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ describe "CLI > logstash-plugin prepare-offline-pack" do
|
|||
|
||||
unpacked = unpack(temporary_zip_file)
|
||||
|
||||
filters = @logstash_plugin.list(plugins_to_pack.first).stderr_and_stdout.split("\n").delete_if { |f| f =~ /cext/ || f =~ /JAVA_OPT/ }
|
||||
filters = @logstash_plugin.list(plugins_to_pack.first).stderr_and_stdout.split("\n").delete_if { |f| f =~ /cext/ || f =~ /JAVA_OPT/ || f =~ /fatal/}
|
||||
|
||||
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