mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 06:37:19 -04:00
Fix an issue with the logstash-plugin list acceptance test
The previous regexp used to match the version did not take into consideration pre-release version. Fixes #5700
This commit is contained in:
parent
244e88ae25
commit
d4e611677d
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ shared_examples "logstash list" do |logstash|
|
|||
it "list the plugins with their versions" do
|
||||
result = logstash.run_command_in_path("bin/logstash-plugin list --verbose")
|
||||
result.stdout.split("\n").each do |plugin|
|
||||
expect(plugin).to match(/^logstash-\w+-\w+\s\(\d+\.\d+.\d+\)/)
|
||||
expect(plugin).to match(/^logstash-\w+-\w+\s\(\d+\.\d+.\d+(.\w+)?\)/)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue