[
https://issues.apache.org/jira/browse/MESOS-9347?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gavin updated MESOS-9347:
-------------------------
Comment: was deleted
(was: www.rtat.net)
> 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
> Priority: Major
> Labels: integration, mesosphere, test-infra
>
> 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)