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

feat!: increase retries for log contains utils #156

Merged
merged 3 commits into from
Oct 19, 2024

Conversation

YutongLi291
Copy link
Contributor

@YutongLi291 YutongLi291 commented Oct 16, 2024

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

There have been some flaky tests in worker agent E2E tests lately, in which cloudwatch logs take longer than expected to stream after a job is done. This has caused the tests to fail flakily, and is the main reason the canaries fail.

We should make sure the tests themselves are robust and don't fail due to expected delays.

What was the solution? (How)

Increase retries to the number of times we try to get the job logs in the utils.

What is the impact of this change?

Less flaky worker agent e2e tests.

How was this change tested?

hatch run fmt
hatch run lint
hatch build

Will monitor after this package is released for flakiness of the worker agent tests.

Was this change documented?

No

Is this a breaking change?

Yes


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

Signed-off-by: Yutong Li <52769999+YutongLi291@users.noreply.github.com>
Signed-off-by: Yutong Li <52769999+YutongLi291@users.noreply.github.com>
@YutongLi291 YutongLi291 changed the title feat: increase retries for log contains utils feat!: increase retries for log contains utils Oct 16, 2024
@YutongLi291 YutongLi291 enabled auto-merge (squash) October 16, 2024 21:45
Copy link

sonarcloud bot commented Oct 16, 2024

@YutongLi291 YutongLi291 dismissed jusiskin’s stale review October 19, 2024 21:41

Addressed in revision.

@YutongLi291 YutongLi291 merged commit 3616a9b into aws-deadline:mainline Oct 19, 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.

4 participants