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

[READY] Correct where WithRetry decorator is applied #1773

Merged
merged 1 commit into from
Dec 13, 2024

Conversation

bstaletic
Copy link
Collaborator

@bstaletic bstaletic commented Dec 12, 2024

A TestCase.subTest() context manager will swallow exceptions, so applying @WithRetry on the entire test does not work. Instead, it needs to be applied on whatever the subTest is doing.

I have not run the tests manually. I'm hoping CI will be merciful.


This change is Reviewable

A TestCase.subTest() context manager will swallow exceptions, so
applying @WithRetry on the entire test does not work.
Instead, it needs to be applied on whatever the subTest is doing.
Copy link
Member

@puremourning puremourning left a comment

Choose a reason for hiding this comment

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

LGTM

@bstaletic bstaletic added the Ship It! Manual override to merge a PR by maintainer label Dec 13, 2024
Copy link
Contributor

mergify bot commented Dec 13, 2024

Thanks for sending a PR!

@mergify mergify bot merged commit c485180 into ycm-core:master Dec 13, 2024
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ship It! Manual override to merge a PR by maintainer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants