mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 06:37:19 -04:00
parent
df4ac4d12e
commit
c9b243da38
1 changed files with 1 additions and 7 deletions
|
@ -14,15 +14,9 @@ shared_examples "logstash version" do |logstash|
|
|||
|
||||
context "on #{logstash.hostname}" do
|
||||
it "returns the right logstash version" do
|
||||
result = logstash.run_command_in_path("bin/logstash --version")
|
||||
result = logstash.run_command_in_path("bin/logstash --path.settings=/etc/logstash --version")
|
||||
expect(result).to run_successfully_and_output(/#{LOGSTASH_VERSION}/)
|
||||
end
|
||||
context "when also using the --path.settings argument" do
|
||||
it "returns the right logstash version" do
|
||||
result = logstash.run_command_in_path("bin/logstash --path.settings=/etc/logstash --version")
|
||||
expect(result).to run_successfully_and_output(/#{LOGSTASH_VERSION}/)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue