mirror of
https://github.com/elastic/logstash.git
synced 2025-04-23 22:27:21 -04:00
parent
5808782345
commit
002060cfdf
1 changed files with 1 additions and 0 deletions
|
@ -123,6 +123,7 @@ describe LogStash::Agent do
|
|||
allow(subject).to receive(:clean_state?).and_return(false)
|
||||
expect(subject).to receive(:reload_state!).at_least(3).times
|
||||
t = Thread.new { subject.execute }
|
||||
sleep 0.01 until subject.running_pipelines? && subject.pipelines.values.first.ready?
|
||||
sleep 0.1
|
||||
Stud.stop!(t)
|
||||
t.join
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue