Skip to content

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

Merged
pnwpedro merged 2 commits into
mainfrom
py-query-limits-test
Mar 5, 2024
Merged

BT-4723: Query limits tests are failing due to uncaught ThrottlingError#158
pnwpedro merged 2 commits into
mainfrom
py-query-limits-test

Conversation

@adambollen

@adambollen adambollen commented Mar 5, 2024

Copy link
Copy Markdown
Contributor

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
@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