go-marathon
go-marathon copied to clipboard
Adds delaySeconds field to healthchecks
The tests are currently failing.
Removed residency since it is on another PR and made the tests pass. Could you approve and merge @timoreimann ?
@cihangirbesiktas as expressed by myself and @marco-jantke, extending NewDefaultHealthCheck
doesn't seem necessary: We apparently gain nothing nothing from it for now as we chose the current Marathon default value for delaySeconds
, but we risk diverging from potential changes that may happen in the future.
If you think there's a good reason to keep it, I'd be grateful for an explanation. Otherwise, I'd prefer to see that part getting removed.
We should have one small test somewhere that verifies we can properly deserialize the test data JSON that you have extended by the new field.
What kind of test are you expecting?