mirror of
https://github.com/elastic/logstash.git
synced 2025-04-19 04:15:23 -04:00
Additional cleanify changes to ls2ls integ tests (#17246)
* Additional cleanify changes to ls2ls integ tests: replace heartbeat-input with reload option, set queue drain to get consistent result.
This commit is contained in:
parent
7446e6bf6a
commit
1e06eea86e
3 changed files with 3 additions and 10 deletions
|
@ -22,15 +22,6 @@ config:
|
|||
generator {
|
||||
count => '<%=options[:generator_count]%>'
|
||||
}
|
||||
heartbeat {
|
||||
interval => 1
|
||||
message => "heartbeat"
|
||||
}
|
||||
}
|
||||
filter {
|
||||
if "heartbeat" == [message] {
|
||||
drop {}
|
||||
}
|
||||
}
|
||||
output {
|
||||
logstash {
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
queue.type: persisted
|
||||
queue.drain: true
|
||||
|
|
|
@ -53,7 +53,8 @@ describe "Logstash to Logstash communication Integration test" do
|
|||
"--pipeline.id", config_name,
|
||||
"--path.config", config_to_temp_file(@fixture.config(config_name, options)),
|
||||
"--path.data", get_temp_path_dir,
|
||||
"--api.http.port", api_port.to_s)
|
||||
"--api.http.port", api_port.to_s,
|
||||
"--config.reload.automatic")
|
||||
logstash_service.wait_for_rest_api
|
||||
yield logstash_service
|
||||
ensure
|
||||
|
|
Loading…
Add table
Reference in a new issue