mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Greg Mann" <>
Subject Review Request 42096: Fixed race in persistent volume tests.
Date Sat, 09 Jan 2016 01:19:20 GMT

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

Review request for mesos and Jie Yu.

Bugs: MESOS-4318

Repository: mesos


Fixed race in persistent volume tests.


  src/tests/persistent_volume_tests.cpp 0a9a2bbd3b3a9c1bacf361750fae7a1970a622b7 



I was able to reproduce this failure by doing
`MESOS_VERBOSE=1 GTEST_FILTER="PersistentVolumeTest.BadACLNoPrincipal:PersistentVolumeTest.BadACLDropCreateAndDestroy"
bin/ --gtest_repeat=1000 --gtest_break_on_failure=1`
on Ubuntu 14.04. Unfortunately, the tests in question were relying on the `suppressOffers`
and `reviveOffers` calls being reliably completed in a specified order, which is not the case.
Inserting `Clock::settle()` after the appropriate `suppressOffers` calls allows those messages
to be processed before `driver1` calls `reviveOffers`, ensuring that `driver1` can receive
the resulting offers.

After applying the patch, I ran the above command on both Ubuntu 14.04 and OSX and it was


Greg Mann

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