mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yongqiao Wang" <yq...@cn.ibm.com>
Subject Re: Review Request 41790: Add tests for /weights endpoint.
Date Mon, 04 Jan 2016 11:23:39 GMT

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

(Updated Jan. 4, 2016, 11:23 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
-----

  src/Makefile.am b58d6b560858d318058be766456dd5c5ef98c23e 
  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 9 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 9 tests from DynamicWeightsTest
[ RUN      ] DynamicWeightsTest.PutInvalidRequest
[       OK ] DynamicWeightsTest.PutInvalidRequest (106 ms)
[ RUN      ] DynamicWeightsTest.NegativeWeight
[       OK ] DynamicWeightsTest.NegativeWeight (43 ms)
[ RUN      ] DynamicWeightsTest.NonExistentRole
[       OK ] DynamicWeightsTest.NonExistentRole (40 ms)
[ RUN      ] DynamicWeightsTest.UpdateWeightsWithExplictRoles
[       OK ] DynamicWeightsTest.UpdateWeightsWithExplictRoles (46 ms)
[ RUN      ] DynamicWeightsTest.UpdateWeightsWithImplicitRoles
[       OK ] DynamicWeightsTest.UpdateWeightsWithImplicitRoles (35 ms)
[ RUN      ] DynamicWeightsTest.UnauthenticatedUpdateWeightRequest
[       OK ] DynamicWeightsTest.UnauthenticatedUpdateWeightRequest (33 ms)
[ RUN      ] DynamicWeightsTest.AuthorizedWeightUpdateRequest
[       OK ] DynamicWeightsTest.AuthorizedWeightUpdateRequest (41 ms)
[ RUN      ] DynamicWeightsTest.AuthorizedUpdateWeightRequestWithoutPrincipal
[       OK ] DynamicWeightsTest.AuthorizedUpdateWeightRequestWithoutPrincipal (34 ms)
[ RUN      ] DynamicWeightsTest.UnauthorizedWeightUpdateRequest
[       OK ] DynamicWeightsTest.UnauthorizedWeightUpdateRequest (36 ms)
[----------] 9 tests from DynamicWeightsTest (415 ms total)

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


Thanks,

Yongqiao Wang


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