mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 06:37:19 -04:00
when a reload fails there should be at least one failure count
Fixes #5923
This commit is contained in:
parent
f82a64fdb3
commit
88d8a46360
1 changed files with 1 additions and 1 deletions
|
@ -501,7 +501,7 @@ describe LogStash::Agent do
|
|||
it "increases the failed reload count" do
|
||||
snapshot = subject.metric.collector.snapshot_metric
|
||||
value = snapshot.metric_store.get_with_path("/stats/pipelines")[:stats][:pipelines][:main][:reloads][:failures].value
|
||||
expect(value).to be > 1
|
||||
expect(value).to be > 0
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue