Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

Add more time between marathon deployment checks #220

Merged
merged 1 commit into from
May 2, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion testing/sdk_install.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,11 @@ def _retried_install_impl(

# Wait for completed marathon deployment
app_id = pkg.marathon_json(options).get('id')
shakedown.deployment_wait(timeout_seconds, app_id)
# TODO: initial wait time here? jenkins install is usually 90-120s
# TODO: randomize the sleep_seconds
shakedown.time_wait(lambda: shakedown.deployment_predicate(app_id),
timeout_seconds,
sleep_seconds=20)


def install(
Expand Down