You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Jie Yu (JIRA)" <ji...@apache.org> on 2015/02/24 20:30:05 UTC

[jira] [Created] (MESOS-2399) Introduce process::settle() for tests.

Jie Yu created MESOS-2399:
-----------------------------

             Summary: Introduce process::settle() for tests.
                 Key: MESOS-2399
                 URL: https://issues.apache.org/jira/browse/MESOS-2399
             Project: Mesos
          Issue Type: Improvement
            Reporter: Jie Yu


In many occasions in tests, we need to make sure all events currently in the queue are processed. Right now, we do:
{code}
Clock::pause();
Clock::settle();
Clock::resume();
{code}

As suggested by BenM in https://reviews.apache.org/r/30900/, maybe we should introduce a process::settle() to avoid pause/settle/resume on the Clock.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)