-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/54574/
-----------------------------------------------------------
(Updated Jan. 17, 2017, 7:18 p.m.)
Review request for mesos, Anand Mazumdar, Benjamin Mahler, and Zhitao Li.
Bugs: MESOS-6082
https://issues.apache.org/jira/browse/MESOS-6082
Repository: mesos
Description
-------
Updated test case for call based metrics for scheduler api.
Diffs (updated)
-----
src/tests/metrics_tests.cpp 27fc35f3bc47fc2905f4ce400b1051307dcacb2e
Diff: https://reviews.apache.org/r/54574/diff/
Testing
-------
Manual Test:
1. sudo ./bin/mesos-master.sh --ip=127.0.0.1 --work_dir=/var/lib/mesos
2. sudo ./bin/mesos-slave.sh --master=127.0.0.1:5050 --ip=0.0.0.0
--work_dir=/var/lib/mesos
3. curl -v -H "Accept: application/json" -H "Content-Type: application/json"
-d "@subscribe.json" http://127.0.0.1:5050/api/v1/scheduler
4. curl -v -H "Accept: application/json" -H "Content-Type: application/json"
-H "Mesos-Stream-Id: 000a38b7-8a2a-4c8f-a374-f782d6ea617f" -d "@teardown.json"
http://127.0.0.1:5050/api/v1/scheduler
5. Checked the subscribe call metric and teardown call metric in
http://127.0.0.1:5050/metrics/snapshot - it's updated
On Ubuntu 16.04:
sudo GTEST_FILTER="MetricsTest.Master" make -j`nproc` check
Thanks,
Abhishek Dasgupta