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)

Reply via email to