mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Schlicht <>
Subject Re: Review Request 64247: Fixed a flaky test case in reservation tests.
Date Tue, 05 Dec 2017 13:05:25 GMT

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

(Updated Dec. 5, 2017, 2:05 p.m.)

Review request for mesos, Alexander Rukletsov, Benjamin Bannier, and Jie Yu.


Rebased, removed superfluous code.

Bugs: MESOS-8289

Repository: mesos

Description (updated)

ReservationTest.MasterFailover could fail when parameterized with
the 'RESOURCE_PROVIDER' capability. After the simulated master failover,
the re-registered framework could receive an offer before the
re-registered agent sends a 'UPDATE_SLAVE' message. On receiving this
message, the master would rescind the offer and send out a new one.
The test expected a single offer to be send. It has been changed to
accept the first offer and ignore subsequent ones.

Also, the test case has been updated to run with paused clocks.

Diffs (updated)

  src/tests/reservation_tests.cpp 7f1bb398c33b3b8cad371b49bdc4bc2454f6440d 





`src/mesos-tests --gtest_filter=ResourceProviderCapability/ReservationTest.MasterFailover/1
--gtest_repeat=2000 --gtest_break_on_failure` while running `stress --cpu 8 --io 8` in the
background (on a 4 core machine)


Jan Schlicht

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