Closed jdef closed 7 years ago
upon the scheduler receiving an ERROR event, it should probably re-try subscription. unless Mesos terminates the current subscription connection after sending an ERROR (which is not in the contract) then we're still in trouble because the httpsched
state doesn't know anything about these ERROR messages so it will stay "connected" (and reject SUBSCRIBE attempts)
This PR is massive enough and I'm mostly happy (enough) with it. Will keep it open for a few days for comments and merge if there are no complaints.
ideally there would be tests shipping with these changes
fixes #277
filed ticket to track tech debt for better unit tests in httpcli
and httpsched
: #291