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)

Reply via email to