HomeMesosphereNo notifications. 4 unresolved issues.

Fix flaky MesosAppIntegrationTest
ClosedAll Users

Authored by zen-dog on Jul 24 2017, 4:26 PM.

Details

Summary
  • fix "rollback a pod deployment" test by waiting for deployment events out of order
  • minor log improvements around deployments
Test Plan

it

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.
zen-dog created this revision.Jul 24 2017, 4:26 PM
jenkins requested changes to this revision.Jul 24 2017, 4:36 PM
This revision now requires changes to proceed.Jul 24 2017, 4:36 PM
✗ Build of 3834 failed jenkins-public-marathon-phabricator-570.

Error message:

Stage Compile and Test failed.

(๑′°︿°๑)

ichernetsky accepted this revision.Jul 24 2017, 7:52 PM
ichernetsky added inline comments.
src/test/scala/mesosphere/marathon/integration/setup/MarathonTest.scala
527

it's => their.

zen-dog updated this revision to Diff 3841.Jul 25 2017, 12:02 PM
zen-dog marked an inline comment as done.
  • Review feedback
jenkins requested changes to this revision.Jul 25 2017, 12:07 PM
This revision now requires changes to proceed.Jul 25 2017, 12:07 PM
✗ Build of 3841 failed jenkins-public-marathon-phabricator-575.

Error message:

Stage Compile and Test failed.

(๑′°︿°๑)

✗ Build of 3841 failed jenkins-public-marathon-phabricator-576.

Error message:

Stage Compile and Test failed.

(๑′°︿°๑)

✗ Build of 3841 failed jenkins-public-marathon-phabricator-577.

Error message:

Stage Compile and Test failed.

(๑′°︿°๑)

✗ Build of 3841 failed jenkins-public-marathon-phabricator-579.

Error message:

Stage Compile and Test failed.

(๑′°︿°๑)

✗ Build of 3841 failed jenkins-public-marathon-phabricator-580.

Error message:

Stage Compile and Test failed.

(๑′°︿°๑)

✗ Build of 3841 failed jenkins-public-marathon-phabricator-581.

Error message:

Stage Compile and Test failed.

(๑′°︿°๑)

unterstein accepted this revision.Jul 25 2017, 4:31 PM

Thank you Leksi ❤️

jenkins accepted this revision.Jul 25 2017, 4:56 PM
This revision is now accepted and ready to land.Jul 25 2017, 4:56 PM
✔ Build of 3841 completed jenkins-public-marathon-phabricator-583.

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-667-g6c05db4.tgz",
"sha1": "903cf897283c2927e199e342a440a121e208edda"

\\ ٩( ᐛ )و //

This revision was automatically updated to reflect the committed changes.
jdef added a subscriber: jdef.Jul 28 2017, 3:55 AM
jdef added inline comments.
src/test/scala/mesosphere/marathon/integration/setup/MarathonTest.scala
534

this func doesn't actually need to accept a mutable Map. The parameter could easily be an immutable map. If a mutable structure is really needed, it then this func should convert the Map param from immutable to mutable. Exposing an API that accepts mutable things is something that we should strongly discourage except in very, very rare circumstances. IMO there is not justification here for doing so.

535

nit: public func, should have a return type

jdef added inline comments.Jul 28 2017, 4:13 AM
src/test/scala/mesosphere/marathon/integration/setup/MarathonTest.scala
534
zen-dog added inline comments.Jul 28 2017, 12:05 PM
src/test/scala/mesosphere/marathon/integration/setup/MarathonTest.scala
534

I thought about taking in an immutable.Map and converting it to mutable but it's a internal tester helper and I decided it's not worth extra effort.