mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Schlicht <>
Subject Re: Review Request 65348: Fixed flakyness of MasterTest.UpdateSlaveMessageWithPendingOffers.
Date Fri, 26 Jan 2018 13:31:03 GMT

This is an automatically generated e-mail. To reply, visit:

(Updated Jan. 26, 2018, 2:31 p.m.)

Review request for mesos, Alexander Rukletsov and Benjamin Bannier.


Removed TODO.

Bugs: MESOS-8490

Repository: mesos

Description (updated)

Under rare circumstances, the clock would have to be advances to trigger
a new allocation cycle after 'UPDATE_SLAVE' has been handled in the
master. We also wait for old offers to be rescinded before waiting for
updated offers as sometimes the old offer could be received erroneously.

Diffs (updated)

  src/tests/master_tests.cpp 7112bb4efcc312dc4f68bdc44fb685c7624002b1 




make check

`src/mesos-tests --gtest_filter=MasterTest.UpdateSlaveMessageWithPendingOffers --gtest_repeat=10000
--gtest_break_on_failure` while running `stress -c 4 -i 8 -m 2 -d 6` on a 4 core machine.
It usually takes a few thousand iterations to trigger the flakyness in the old code. And only
when the host is under heavy load.


Jan Schlicht

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