-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/69869/
-----------------------------------------------------------
(Updated Feb. 21, 2019, 4:08 p.m.)
Review request for mesos, Benno Evers, Gastón Kleiman, and Greg Mann.
Changes
-------
Fix mock expectation (almost always occurs) when scheduler tries to reconnect
to master during scheduler teardown.
Summary (updated)
-----------------
Added test for tearing down frameworks while creating disks.
Bugs: MESOS-9542
https://issues.apache.org/jira/browse/MESOS-9542
Repository: mesos
Description
-------
The CREATE_DISK and DESTROY_DISK operations are "non-speculative"
operations, which means the master must wait for the operations to
complete successfully before the master can update its resources.
Because the master must wait to update the results of non-speculative
operations, it is possible for the framework making the
CREATE/DESTROY_DISK to be torn down before the operation completes.
This commit adds a test to make sure the master can gracefully handle
such a case.
Diffs (updated)
-----
src/tests/storage_local_resource_provider_tests.cpp
a661951a0a326cc342aa0c45dd0967692ae70941
Diff: https://reviews.apache.org/r/69869/diff/3/
Changes: https://reviews.apache.org/r/69869/diff/2-3/
Testing
-------
The test currently fails with the exact message as MESOS-9542, which is the
intended behavior right now (we are discussing the fix).
src/mesos-tests
--gtest_filter="StorageLocalResourceProviderTest.FrameworkTeardownBeforeTerminalOperationStatusUpdate"
--verbose
Thanks,
Joseph Wu