Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: increase number of retries for SSM send_command to 60 #140

Merged
merged 1 commit into from
Aug 14, 2024

Conversation

YutongLi291
Copy link
Contributor

What was the problem/requirement? (What/Why)

Windows workers boot up takes longer than Linux workers, so the current total retry time to verify that we can send an SSM command, which is 5 minutes is not sufficient, in rare cases.

What was the solution? (How)

Increase the timeout for sending an SSM command on a launched EC2 instance.

What is the impact of this change?

More slack in waiting for the windows worker to be booted, less flakiness

How was this change tested?

hatch run fmt

Pulled the worker agent package and installed this version of test-fixtures, confirmed that the timeout was increase and it successfully waited for the worker to start.

Was this change documented?

no

Is this a breaking change?

no

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@YutongLi291 YutongLi291 requested a review from a team as a code owner August 13, 2024 23:09
Signed-off-by: Yutong Li <52769999+YutongLi291@users.noreply.github.com>
Copy link

sonarcloud bot commented Aug 13, 2024

@YutongLi291 YutongLi291 merged commit e768f38 into aws-deadline:mainline Aug 14, 2024
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants