You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Greg Mann (JIRA)" <ji...@apache.org> on 2018/10/22 18:20:00 UTC

[jira] [Created] (MESOS-9347) Add test abstraction for the master operator stream

Greg Mann created MESOS-9347:
--------------------------------

             Summary: Add test abstraction for the master operator stream
                 Key: MESOS-9347
                 URL: https://issues.apache.org/jira/browse/MESOS-9347
             Project: Mesos
          Issue Type: Improvement
            Reporter: Greg Mann


Adding a test abstraction around the master operator API would make it easier for developers to test this functionality, increasing the likelihood that it will be included in new test code going forward.

For example, I can imagine an RAII-style construct which creates an operator event stream upon instantiation and captures the initial GET_STATE response, exposing a method to allow callers to pop events off of the stream subsequently. This could be used in the existing {{MasterAPITest.Subscribe}}, as well as other tests in the future.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)