Neil Conway created MESOS-6228:
----------------------------------
Summary: Add timeout to /metrics/snapshot calls in tests
Key: MESOS-6228
URL: https://issues.apache.org/jira/browse/MESOS-6228
Project: Mesos
Issue Type: Bug
Components: tests
Reporter: Neil Conway
In the unit tests, {{Metrics()}} does an {{http::get}} of the
{{/metrics/snapshot}} endpoint. No {{timeout}} parameter is provided. That
means if any metric cannot be fetched, the request hangs forever.
Instead, we should specify a reasonable timeout (e.g., 15 seconds) and fail the
test if the timeout fires.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)