Meng Zhu created MESOS-9835:
-------------------------------
Summary: `QuotaRoleAllocateNonQuotaResource` is failing.
Key: MESOS-9835
URL: https://issues.apache.org/jira/browse/MESOS-9835
Project: Mesos
Issue Type: Bug
Components: test
Reporter: Meng Zhu
Assignee: Meng Zhu
{noformat}
[ RUN ] HierarchicalAllocatorTest.QuotaRoleAllocateNonQuotaResource
../../src/tests/hierarchical_allocator_tests.cpp:4094: Failure
Value of: allocations.get().isPending()
Actual: false
Expected: true
[ FAILED ] HierarchicalAllocatorTest.QuotaRoleAllocateNonQuotaResource (12 ms)
{noformat}
The test is failing because:
After agent3 is added, it misses a settle call where the allocation of agent3
is racy.
In addition, after
https://github.com/apache/mesos/commit/7df8cc6b79e294c075de09f1de4b31a2b88423c8
we now offer nonquota resources on an agent (even that means "chopping") on top
of role's satisfied guarantees, the test needs to be updated in accordance with
the behavior change.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)