mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 14:47:19 -04:00
prevent tests from stalling by ensuring files we check get flushed
Fixes #9795
This commit is contained in:
parent
fb306a14e3
commit
d6b9d0f398
2 changed files with 5 additions and 2 deletions
|
@ -10,6 +10,9 @@ config: |-
|
|||
generator { count => 5 }
|
||||
}
|
||||
output {
|
||||
file { path => '<%=options[:random_file]%>' }
|
||||
file {
|
||||
path => '<%=options[:random_file]%>'
|
||||
flush_interval => 0
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -69,7 +69,7 @@ describe "Test Logstash service when multiple pipelines are used" do
|
|||
"pipeline.id" => "test2",
|
||||
"pipeline.workers" => 1,
|
||||
"pipeline.batch.size" => 1,
|
||||
"config.string" => "input { pipeline { address => testaddr } } output { file { path => \"#{temporary_out_file_1}\" } }"
|
||||
"config.string" => "input { pipeline { address => testaddr } } output { file { path => \"#{temporary_out_file_1}\" flush_interval => 0} }"
|
||||
}
|
||||
]
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue