-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/65316/
-----------------------------------------------------------
(Updated Jan. 31, 2018, 2:53 a.m.)
Review request for mesos, Benjamin Mahler, Gaston Kleiman, and Vinod Kone.
Bugs: MESOS-8469
https://issues.apache.org/jira/browse/MESOS-8469
Repository: mesos
Description
-------
Until the fix for MESOS-8469, it was possible for the master
operator event stream to drop events, if event-related state in
the master changed in between asynchronous calls.
This patch adds `MasterAPITest.EventAuthorizationDelayed` to
verify the fix for that issue.
Diffs (updated)
-----
src/tests/api_tests.cpp b639a4bafbf69d3ea53aa0573e9f0489c3a1a57f
Diff: https://reviews.apache.org/r/65316/diff/4/
Changes: https://reviews.apache.org/r/65316/diff/3-4/
Testing
-------
Confirmed that the test fails without the fix for MESOS-8469.
When the fix is included, the test passes. Successfully ran `bin/mesos-tests.sh
--gtest_filter="ContentType/MasterAPITest.EventAuthorizationDelayed*"
--gtest_repeat=1000 --gtest_break_on_failure` to rule out any flakiness.
Thanks,
Greg Mann