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 Wed, 06 Dec 2017 10:46:34 GMT

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

(Updated Dec. 6, 2017, 10:46 a.m.)

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

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.


  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