mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 14:47:19 -04:00
test fix: use single worker in test to avoid concurrency issue in sleep filter
See: https://github.com/elastic/logstash/issues/8073 See: https://github.com/logstash-plugins/logstash-filter-sleep/issues/7 Fixes: #8974 Fixes #8975
This commit is contained in:
parent
d89536eb8e
commit
5a725bf671
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ describe "Test Logstash Slowlog" do
|
|||
"slowlog.threshold.warn" => "500ms"
|
||||
}
|
||||
IO.write(@ls.application_settings_file, settings.to_yaml)
|
||||
@ls.spawn_logstash("-e", config)
|
||||
@ls.spawn_logstash("-w", "1" , "-e", config)
|
||||
@ls.wait_for_logstash
|
||||
sleep 2 until @ls.exited?
|
||||
slowlog_file = "#{temp_dir}/logstash-slowlog-plain.log"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue