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

Fix racetest problems #376

Merged
merged 4 commits into from Feb 6, 2023
Merged

Fix racetest problems #376

merged 4 commits into from Feb 6, 2023

Conversation

d-maurer
Copy link
Contributor

@d-maurer d-maurer commented Feb 3, 2023

This PR fixes problems with the racetests observed during work on "zopefoundation/ZEO#225".

It uses daemon (rather than normal) threads to avoid deadlock on shutdown when one of the test threads has not finished. It treats the failure for a test thread to finish as a test failure.

@dataflake
Copy link
Member

@d-maurer I am currently fixing the GHA configuration-related errors and deprecation warnings on master and will let you know when I am done, then you can merge the changes here.

@dataflake
Copy link
Member

If you merge in 9ffc59e you should get the py35/py36 tests back and get rid of all the deprecation warnings.

@d-maurer d-maurer marked this pull request as ready for review February 3, 2023 12:28
@d-maurer d-maurer requested a review from navytux February 3, 2023 12:28
@d-maurer
Copy link
Contributor Author

d-maurer commented Feb 3, 2023

The failing test runs (Python 3.5 and 3.6) have missing Python installations for those outdated versions as cause.

@d-maurer
Copy link
Contributor Author

d-maurer commented Feb 3, 2023 via email

Copy link
Contributor

@navytux navytux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, Dieter. I agree it is better to explicitly fail if thread join does not succeed.

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.

None yet

3 participants