mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Meng Zhu <m...@mesosphere.io>
Subject Re: Review Request 66145: Added a test to verify that task launch order is enforced.
Date Tue, 20 Mar 2018 18:35:07 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/66145/
-----------------------------------------------------------

(Updated March 20, 2018, 11:35 a.m.)


Review request for mesos, Chun-Hung Hsiao and Greg Mann.


Changes
-------

Updated the test to use mock garbage collector to simulate the reordering.


Bugs: MESOS-8617 and MESOS-8624
    https://issues.apache.org/jira/browse/MESOS-8617
    https://issues.apache.org/jira/browse/MESOS-8624


Repository: mesos


Description
-------

Agent should launch the task in their receiving order.
On the task launch path, there are currently two
asynchronous steps which may complete out of order:
unschedule GC and task authorization.

This test simulates the reordering of the completions
of unschedule GC step and verify that, despite the
reordering, tasks can still launch in their original order.


Diffs (updated)
-----

  src/tests/slave_tests.cpp f76500ebdb67f131a57a3b5aaae8c952d019e354 


Diff: https://reviews.apache.org/r/66145/diff/2/

Changes: https://reviews.apache.org/r/66145/diff/1-2/


Testing
-------

make check


Thanks,

Meng Zhu


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