-
-
Notifications
You must be signed in to change notification settings - Fork 31.8k
gh-128657: Run test_hashlib with --parallel-threads
#129833
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
This catches the race in `py_digest_by_name` that is fixed separately in pythongh-128886.
cc @tom-pytel |
So the test triggers TSAN but still succeeds. I am guessing the TSAN error output triggers github action to fail? Would it make sense to catpure stderr (in general for tsan tests) so that the tests can fail directly? |
The test failed (as expected) before your commit: https://github.com/python/cpython/actions/runs/13209357165/job/36879773663 And now passes (as expected) after your PR was merged (and I merged main back into this PR): https://github.com/python/cpython/actions/runs/13217166856/job/36897772901 |
You are right, command line difference, adding the "-j4" switch makes it fail for me locally as well, without it it succeeds. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks for modernizing that test code.
This catches the race in
py_digest_by_name
that is fixed separately in gh-128886.