> On 九月 28, 2016, 11:02 p.m., Guangya Liu wrote: > > src/tests/hierarchical_allocator_tests.cpp, line 3674 > > <https://reviews.apache.org/r/51028/diff/4/?file=1513695#file1513695line3674> > > > > It's weired that I can see all of the agents are actually allocated, > > but the `offerCallbacks` was not increased as expected, need check more for > > this.
As we are now batching the allocation, so the `offerCallbacks` number is actually the number of batched allocations. - Guangya ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/51028/#review150773 ----------------------------------------------------------- On 九月 28, 2016, 9:16 p.m., Jacob Janco wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/51028/ > ----------------------------------------------------------- > > (Updated 九月 28, 2016, 9:16 p.m.) > > > Review request for mesos and Jiang Yan Xu. > > > Bugs: MESOS-3157 > https://issues.apache.org/jira/browse/MESOS-3157 > > > Repository: mesos > > > Description > ------- > > - Per MESOS-3157, if cluster events with the possibility > of triggering an allocation occur rapidly and test > assertions depend on gleaning information from assumed > order, it is likely they will fail due to lack of parity > between event and actual allocation. Ensure that expected > allocations occur. > > > Diffs > ----- > > src/tests/hierarchical_allocator_tests.cpp > 46553f6d501deb37862dd5ba48be1c114f6e6cb8 > > Diff: https://reviews.apache.org/r/51028/diff/ > > > Testing > ------- > > make check > > > Thanks, > > Jacob Janco > >
