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

Add "more than one ECS failure" case to Task Protection TMDS tests #3749

Merged
merged 1 commit into from
Jun 16, 2023

Conversation

amogh09
Copy link
Contributor

@amogh09 amogh09 commented Jun 12, 2023

Summary

Current TMDS-level tests for Task Protection endpoints do not cover the case when ECS Task Protection API call returns more than one failure. This PR updates the tests to cover that case.

Testing

New tests cover the changes: NA

Description for the changelog

Add "more than one ECS failure" case to Task Protection TMDS tests

Licensing

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@amogh09 amogh09 changed the base branch from master to dev June 12, 2023 17:57
@amogh09 amogh09 changed the title Update task protection tests with more than one ECS failure case Update task protection tests with "more than one ECS failure" case Jun 12, 2023
@amogh09 amogh09 changed the title Update task protection tests with "more than one ECS failure" case Add "more than one ECS failure" case to Task Protection TMDS tests Jun 12, 2023
@amogh09 amogh09 marked this pull request as ready for review June 12, 2023 20:18
@amogh09 amogh09 requested a review from a team as a code owner June 12, 2023 20:18
Copy link
Contributor

@Realmonia Realmonia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was this possible in real life?

@amogh09
Copy link
Contributor Author

amogh09 commented Jun 14, 2023

No I have not seen it. But since we have the logic I wanted to cover it in the tests to make sure that the TMDS refactoring work doesn't miss it.

@amogh09 amogh09 merged commit f14bee8 into aws:dev Jun 16, 2023
@prateekchaudhry prateekchaudhry mentioned this pull request Jun 22, 2023
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