mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Meng Zhu <m...@mesosphere.io>
Subject Review Request 64794: Added a test to verify the behavior of allocating resources w/o quota.
Date Fri, 22 Dec 2017 00:48:36 GMT

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

Review request for mesos and Benjamin Mahler.


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


Repository: mesos


Description
-------

This test verifies the behavior of allocating resource to quota roles
that has no quota set for that particular resource (e.g. allocating
memory to a role with only quota set for CPU). If a role has no quota
set for a resource, it will get that resource only when two conditions
are both met:

- It got some other resources on the same agent to meet its quota;

- After allocating the resource, there is still enough resource
available to meet all other role's quota guarantee for that resource.


Diffs
-----

  src/tests/hierarchical_allocator_tests.cpp ad9d556f040b2b51b6c43757f8bad05d61a057e7 


Diff: https://reviews.apache.org/r/64794/diff/1/


Testing
-------

make check


Thanks,

Meng Zhu


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