mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 06:37:19 -04:00
use a temporary path instead of a temporary file
Using an empty file for the regitry make FB quits with a EOF error Fixes: #6285 Fixes #6286
This commit is contained in:
parent
860ea5c522
commit
81e8bda0b9
1 changed files with 5 additions and 1 deletions
|
@ -16,8 +16,12 @@ describe "Beat Input" do
|
|||
filebeat_service.stop
|
||||
end
|
||||
|
||||
before :each do
|
||||
FileUtils.mkdir_p(File.dirname(registry_file))
|
||||
end
|
||||
|
||||
let(:max_retry) { 120 }
|
||||
let(:registry_file) { Stud::Temporary.file.path }
|
||||
let(:registry_file) { File.join(Stud::Temporary.pathname, "registry") }
|
||||
let(:logstash_service) { @fixture.get_service("logstash") }
|
||||
let(:filebeat_service) { @fixture.get_service("filebeat") }
|
||||
let(:log_path) do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue