mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Rukletsov" <ruklet...@gmail.com>
Subject Re: Review Request 40818: Fixed flaky test (AvailableResourcesAfterRescinding).
Date Tue, 01 Dec 2015 16:52:32 GMT

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

(Updated Dec. 1, 2015, 4:52 p.m.)


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


Changes
-------

Removed non-ascii chars. Courtesy of Neil and https://reviews.apache.org/r/40799/


Repository: mesos


Description
-------

Addendum to b2b0eedc7371cd294b715fc91312989919d57c7a


Diffs (updated)
-----

  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


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