Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-9347

Add test abstraction for the master operator stream.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Accepted
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            greggomann Greg Mann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: