mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 22:57:16 -04:00
parent
86bf8dbb37
commit
60c883fcf7
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ describe "Test that Logstash" do
|
||||||
it "expands secret store variables from settings" do
|
it "expands secret store variables from settings" do
|
||||||
test_env["LOGSTASH_KEYSTORE_PASS"] = "keystore_pa9454w3rd"
|
test_env["LOGSTASH_KEYSTORE_PASS"] = "keystore_pa9454w3rd"
|
||||||
@logstash.env_variables = test_env
|
@logstash.env_variables = test_env
|
||||||
@logstash.spawn_logstash("-e", "input {stdin {}} output { }", "--path.settings", settings_dir)
|
@logstash.spawn_logstash("-e", "input {heartbeat {}} output { }", "--path.settings", settings_dir)
|
||||||
@logstash.wait_for_logstash
|
@logstash.wait_for_logstash
|
||||||
Stud.try(num_retries.times, [StandardError, RSpec::Expectations::ExpectationNotMetError]) do
|
Stud.try(num_retries.times, [StandardError, RSpec::Expectations::ExpectationNotMetError]) do
|
||||||
result = @logstash.monitoring_api.node_stats rescue nil
|
result = @logstash.monitoring_api.node_stats rescue nil
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue