Fix node stats test

Fixes #6236
This commit is contained in:
Suyog Rao 2016-11-10 17:22:20 -08:00
parent e78fce609b
commit b41407c99b

View file

@ -5,7 +5,9 @@ require "json"
class MonitoringAPI
def pipeline_stats
node_stats["pipeline"]
resp = Manticore.get("http://localhost:9600/_node/stats/pipeline").body
stats_response = JSON.parse(resp)
stats_response["pipeline"]
end
def event_stats