-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Stabilize test suite: fix flaky timing tests, add rerun support, and handle Windows resource leaks #11992
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
Open
rodrigobnogueira
wants to merge
27
commits into
aio-libs:master
Choose a base branch
from
rodrigobnogueira:fix/import-time-test-python-3.14
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+142
−50
Open
Stabilize test suite: fix flaky timing tests, add rerun support, and handle Windows resource leaks #11992
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
cf37399
Fix flaky import time test for Python 3.12+
877749b
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 553f63e
Fix flaky test_regex_performance timing test
1eed494
Improve flaky test handling using pytest-rerunfailures
1e0e7b5
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] c1f3847
Fix socket leaks in TestShutdown suite for Windows CI
5bc9395
reverting the windows socket handling. The scope might be growing too…
6eaa28b
Merge branch 'master' into fix/import-time-test-python-3.14
rodrigobnogueira defe900
Regenerate test requirement pins to include pytest-rerunfailures
2a39d88
Refactor get_flaky_threshold into rerun_adjusted_threshold fixture
7c338ff
Marking flaky tests to rerun
099fe5f
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 4a2e2e0
Merge upstream/master and resolve requirements conflicts
d10cd20
Fix make_client_request fixture to prevent session leaks
8aa32b7
fix: add Windows cleanup delay in secure_proxy_url fixture
00d8bab
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 85ffe07
fix: increase Windows cleanup delay to 0.5s with multiple gc passes
f905bc7
test: use extreme 5s delay to verify socket leak source
f6a3a00
test: add delay after gc.collect() to test async finalization
7315a1b
test: use thread polling instead of fixed sleep for Windows cleanup
968d9bd
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] e63fb6d
test: use baseline thread detection for Windows cleanup
4d75c6a
fix: Improve thread cleanup in proxy test fixture by simplifying thre…
ac1cb5b
Add Windows socket warning filter for Py3.10/3.11
b8aee4a
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] ab00b7b
refactor: introduce RerunThresholdParams NamedTuple for performance t…
0f3fb76
refactor: use asyncio.gather() for parallel cleanup in make_request f…
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| Fixed flaky import time test for Python 3.12+ -- by :user:`rodrigobnogueira`. | ||
|
|
||
| Refactored to use version comparison instead of explicit version list, | ||
| making the test future-proof for new Python releases. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rodrigobnogueira marked this conversation as resolved.
Show resolved
Hide resolved
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.