zopefoundation / ZODB

Python object-oriented database
https://zodb-docs.readthedocs.io/
Other
682 stars 92 forks source link

Fix `racetest` problems #376

Closed d-maurer closed 1 year ago

d-maurer commented 1 year ago

This PR fixes problems with the racetests observed during work on "https://github.com/zopefoundation/ZEO/pull/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 commented 1 year ago

@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 commented 1 year ago

If you merge in https://github.com/zopefoundation/ZODB/commit/9ffc59e5bd3eb68d8e43f79265e45d245b832f76 you should get the py35/py36 tests back and get rid of all the deprecation warnings.

d-maurer commented 1 year ago

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

d-maurer commented 1 year ago

Jens Vagelpohl wrote at 2023-2-3 03:26 -0800:

If you merge in https://github.com/zopefoundation/ZODB/commit/9ffc59e5bd3eb68d8e43f79265e45d245b832f76 you should get the py35/py36 tests back and get rid of all the deprecation warnings.

Thank you for your help!