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

test: do not retry test jobs that are expected to fail in test_job_reports_failed_session_action #448

Conversation

YutongLi291
Copy link
Contributor

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

test_job_reports_failed_session_action submits jobs that are expected to fail. However previously we are retrying the jobs despite them expected to fail. To save time and make the test behaviour more consistent, we should no retry them.

What was the solution? (How)

Give these test jobs that are expected to fail 0 retries.

What is the impact of this change?

Resources saved during testing, more consistent test behaviour.

How was this change tested?

# Linux
source .e2e_linux_infra.sh
hatch run e2e-test

# Windows
source .e2e_windows_infra.sh
hatch run e2e-test

The tests passed.

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 October 21, 2024 21:02
Copy link

@YutongLi291 YutongLi291 enabled auto-merge (squash) October 21, 2024 21:04
@YutongLi291 YutongLi291 merged commit a7dbb3d into aws-deadline:mainline Oct 21, 2024
15 checks passed
YutongLi291 added a commit to YutongLi291/deadline-cloud-worker-agent-fork that referenced this pull request Oct 28, 2024
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