mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 22:57:16 -04:00
Shutdown agent after pipelines
I actually am not sure if this matters, but it seems like it won't hurt, and is a more sane ordering of things. I have a suspicion that in some cases the agents get stuck and don't shut down because of this ordering, but I can't prove it Fixes #9628
This commit is contained in:
parent
e2a6d8b753
commit
fb16b7b984
1 changed files with 1 additions and 1 deletions
|
@ -31,11 +31,11 @@ shared_context "api setup" do
|
|||
end
|
||||
|
||||
after :all do
|
||||
@agent.shutdown
|
||||
@pipelines.each do |_, pipeline|
|
||||
pipeline.shutdown
|
||||
pipeline.thread.join
|
||||
end
|
||||
@agent.shutdown
|
||||
end
|
||||
|
||||
include Rack::Test::Methods
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue