mesos-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jie Yu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (MESOS-2399) Introduce process::settle() for tests.
Date Tue, 24 Feb 2015 19:30:05 GMT
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)

Mime
View raw message