Skip to content

Commit

Permalink
Test fix: ensure 'fatal: Not a git repository' is not picked up as ex…
Browse files Browse the repository at this point in the history
…pectation integration test Fixes elastic#8319

Fixes elastic#8320
  • Loading branch information
jakelandis committed Sep 19, 2017
1 parent ffb72d3 commit 2c36246
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qa/integration/specs/cli/prepare_offline_pack_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@

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)
Expand Down

0 comments on commit 2c36246

Please sign in to comment.