----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/48906/ -----------------------------------------------------------
Review request for mesos and Benjamin Mahler. Bugs: MESOS-5621 https://issues.apache.org/jira/browse/MESOS-5621 Repository: mesos Description ------- Added helper function to get non-scarce resources. Diffs ----- include/mesos/resources.hpp a557e97c65194d4aad879fb88d8edefd1c95b8d8 include/mesos/v1/resources.hpp a5ba8fec4c9c3643646308f75a4b28cefe0b3df3 src/common/resources.cpp f6ff92b591c15bc8e93fd85e1896349c3a7bb968 src/tests/resources_tests.cpp dc12bd8f1e2da6972bc8aed598811c55d664036e src/v1/resources.cpp 8c3f2d1c1529915a59d47fe37bb3fc7a3267079a Diff: https://reviews.apache.org/r/48906/diff/ Testing ------- make make check [==========] Running 1 test from 1 test case. [----------] Global test environment set-up. [----------] 1 test from ResourcesTest [ RUN ] ResourcesTest.NonScarce [ OK ] ResourcesTest.NonScarce (1 ms) [----------] 1 test from ResourcesTest (1 ms total) [----------] Global test environment tear-down [==========] 1 test from 1 test case ran. (14 ms total) [ PASSED ] 1 test. Thanks, Guangya Liu