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

BT-4723: Query limits tests are failing due to uncaught ThrottlingError #158

Merged
merged 2 commits into from
Mar 5, 2024

Conversation

adambollen
Copy link
Contributor

@adambollen adambollen commented Mar 5, 2024

Ticket(s): BT-4723

Problem

Query limit tests are failing in pipeline.

Solution

The tests run by hitting the db with multiple read queries in parallel, but expects that at least one of those clients will succeed on retry, but an uncaught ThrottlingError blows the whole thing up. Catching and ignoring the error lets at least one client pass on retry.

Result

Test is now passing locally.

Testing

Ran the test.


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

@adambollen adambollen requested a review from pnwpedro March 5, 2024 16:21
pnwpedro
pnwpedro previously approved these changes Mar 5, 2024
@adambollen adambollen changed the title BT-4723: Query limits tests are failing due to exhausted retries; reducing page size passes BT-4723: Query limits tests are failing due to uncaught ThrottlingError Mar 5, 2024
@adambollen adambollen requested a review from pnwpedro March 5, 2024 16:42
@pnwpedro pnwpedro merged commit f6d5f23 into main Mar 5, 2024
5 of 6 checks passed
@pnwpedro pnwpedro deleted the py-query-limits-test branch March 5, 2024 16:46
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.

2 participants