-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/41790/
-----------------------------------------------------------

(Updated Dec. 30, 2015, 11:56 a.m.)


Review request for mesos, Adam B, Neil Conway, and Qian Zhang.


Bugs: MESOS-4200
    https://issues.apache.org/jira/browse/MESOS-4200


Repository: mesos


Description
-------

Add tests for /weights endpoint.


Diffs (updated)
-----

  src/Makefile.am bf71fe6ee65233bbc47a41f610d68ff9760e19f6 
  src/tests/dynamic_weights_tests.cpp PRE-CREATION 

Diff: https://reviews.apache.org/r/41790/diff/


Testing (updated)
-------

Make and Make check successfully!

./src/mesos-tests --gtest_filter=DynamicWeightsTest.*
[==========] Running 5 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 5 tests from DynamicWeightsTest
[ RUN      ] DynamicWeightsTest.PutInvalidRequest
[       OK ] DynamicWeightsTest.PutInvalidRequest (77 ms)
[ RUN      ] DynamicWeightsTest.NegativeWeight
[       OK ] DynamicWeightsTest.NegativeWeight (35 ms)
[ RUN      ] DynamicWeightsTest.NonExistentRole
[       OK ] DynamicWeightsTest.NonExistentRole (40 ms)
[ RUN      ] DynamicWeightsTest.UpdateWeightsWithExplictRoles
[       OK ] DynamicWeightsTest.UpdateWeightsWithExplictRoles (46 ms)
[ RUN      ] DynamicWeightsTest.UpdateWeightsWithImplicitRoles
[       OK ] DynamicWeightsTest.UpdateWeightsWithImplicitRoles (37 ms)
[----------] 5 tests from DynamicWeightsTest (235 ms total)

[----------] Global test environment tear-down
[==========] 5 tests from 1 test case ran. (244 ms total)
[  PASSED  ] 5 tests.


Thanks,

Yongqiao Wang

Reply via email to