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

Review request for mesos, Joris Van Remoortere and Vinod Kone.


Repository: mesos


Description
-------

Addendum to b2b0eedc7371cd294b715fc91312989919d57c7a


Diffs
-----

  src/tests/master_quota_tests.cpp 481298361574008b2cf9d213c908deb633393e31 

Diff: https://reviews.apache.org/r/40818/diff/


Testing
-------

Two test setups on Mac OS X 10.10.4.

`GTEST_FILTER="*AvailableResourcesAfterRescinding*" ./bin/mesos-tests.sh 
--gtest_repeat=1000` *with* `allocation_interval` set to `50ms`
The probability of a batch allocation between rescinding and `Shutdown()` is 
low.


`GTEST_FILTER="*AvailableResourcesAfterRescinding*" ./bin/mesos-tests.sh 
--gtest_repeat=1000` *with* simulation of slow CI
A batch allocation between rescinding and `Shutdown()` is triggered by 
inserting the following lines after resources are recovered:
```
  Clock::pause();
  Clock::advance(flags.allocation_timeout);
  Clock::settle();
  Clock::resume();
```


Thanks,

Alexander Rukletsov

Reply via email to