Skip to content

[3.11] gh-108550: Speed up sqlite3 tests (#108551) #108567

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

Conversation

erlend-aasland
Copy link
Contributor

@erlend-aasland erlend-aasland commented Aug 28, 2023

Disable the busy handler for all concurrency tests; we have full
control over the order of the SQLite C API calls, so we can safely
do this.

test_sqlite3.test_transactions now completes ~10 times faster than before.

Co-authored-by: Serhiy Storchaka [email protected]

Disable the busy handler for all concurrency tests; we have full
control over the order of the SQLite C API calls, so we can safely
do this.

test_sqlite3.test_transactions now completes ~10 times faster than before.

Co-authored-by: Serhiy Storchaka <[email protected]>
@erlend-aasland erlend-aasland force-pushed the backport-3.11-speed-up-sqlite3-tests branch from 8fbf7dd to 4d966b4 Compare August 28, 2023 12:20
@erlend-aasland erlend-aasland changed the title gh-108550: Speed up sqlite3 tests (#108551) [3.11] gh-108550: Speed up sqlite3 tests (#108551) Aug 28, 2023
@erlend-aasland erlend-aasland enabled auto-merge (squash) August 28, 2023 12:21
@erlend-aasland erlend-aasland merged commit 6f6171b into python:3.11 Aug 28, 2023
@erlend-aasland erlend-aasland deleted the backport-3.11-speed-up-sqlite3-tests branch August 31, 2023 21:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip news tests Tests in the Lib/test dir
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants