HomeMesosphereNo notifications. 4 unresolved issues.

Add timeout handling to http health checks and readiness checks
ClosedAll Users

Authored by unterstein on Jun 16 2017, 9:12 AM.

Details

Summary

Due to the akka http introduction, proper timeout handling for http health checks and readiness checks were gone.
This commits re-introduces the semantically correct timeout for these checks.

Test Plan

sbt "integration:test-only *AppDeployIntegrationTest"

Diff Detail

Repository
rMARATHON marathon
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
Changes from before your most recent comment are hidden. Show Older Changes
jeschkies accepted this revision.Jun 16 2017, 12:16 PM

Thanks!

This revision is now accepted and ready to land.Jun 16 2017, 12:16 PM
jenkins accepted this revision.Jun 16 2017, 12:31 PM
✔ Build of 3522 completed jenkins-public-marathon-phabricator-250.

You can create a DC/OS with your patched Marathon by creating a new pull
request with the following changes in buildinfo.json:

"url": "https://downloads.mesosphere.io/marathon/snapshots/marathon-1.5.0-SNAPSHOT-582-g1793076.tgz",
"sha1"" "5d8e93bb8197f4459a52ba900083123d85b7abdf"

\\ ٩( ᐛ )و //

zen-dog accepted this revision.Jun 16 2017, 1:12 PM

Thx!

src/main/scala/mesosphere/marathon/util/package.scala
31 ↗(On Diff #3521)

Very elegant :thumbup:

kensipe accepted this revision.Jun 16 2017, 4:06 PM
kensipe added a subscriber: kensipe.

nice work! and excellent work adding in the test!

BTW love the Timeout that @jeschkies recommended! super elegant!

zen-dog requested changes to this revision.Jun 16 2017, 5:12 PM

Wait, why did you change it back to that ugly Timeout.util thing? It should be the other way around! Throw the util thing out and replace it with your!

This revision now requires changes to proceed.Jun 16 2017, 5:12 PM

@zen-dog unfortunately it is not possible to superseed Timeout with FutureTimeoutLike because Timeout works with infinite durations and FutureTimeoutLike not :(

This revision is now accepted and ready to land.Jun 19 2017, 6:57 PM
This revision was automatically updated to reflect the committed changes.