mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Abhishek Dasgupta <a10gu...@linux.vnet.ibm.com>
Subject Re: Review Request 54574: Updated test case for call based metrics for scheduler api.
Date Tue, 17 Jan 2017 19:18:34 GMT

-----------------------------------------------------------
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


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message