mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Neil Conway <>
Subject Re: Review Request 50186: Avoid a GMock warning in a reservation test case.
Date Tue, 19 Jul 2016 09:55:40 GMT

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

(Updated July 19, 2016, 9:55 a.m.)

Review request for mesos and Alexander Rukletsov.

Repository: mesos


Depending on timing, the master might rescind an offer, which causes a
GMock warning. It is better to wait for the offer and then wait for it
to be rescinded.


  src/tests/reservation_tests.cpp 26bd762db657d5c83cf4b7575ecbbbc26e95d917 


Testing (updated)

`./src/mesos-tests --gtest_filter="ReservationTest.CompatibleCheckpointedResourcesWithPersistentVolumes"
--verbose --gtest_repeat=400`

Without the patch, emits a GMock warning on ~1% of runs. With the patch, does not emit the
warning. Note that the warning seems to occur more often if you remove the `os::sleep` from
`Clock::settle`, which we want to do anyway.


Neil Conway

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