This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients aeros, pitrou, tomMoral, vstinner
Date 2020-04-28.16:38:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1588091922.19.0.396082003439.issue39995@roundup.psfhosted.org>
In-reply-to
Content
With my msg367463 patch (add sleep), test_cancel_futures() fails. Example:

======================================================================
FAIL: test_cancel_futures (test.test_concurrent_futures.ProcessPoolForkProcessPoolShutdownTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/vstinner/python/master/Lib/test/test_concurrent_futures.py", line 353, in test_cancel_futures
    self.assertTrue(len(cancelled) >= 35, msg=f"{len(cancelled)=}")
AssertionError: False is not true : len(cancelled)=0
History
Date User Action Args
2020-04-28 16:38:42vstinnersetrecipients: + vstinner, pitrou, tomMoral, aeros
2020-04-28 16:38:42vstinnersetmessageid: <1588091922.19.0.396082003439.issue39995@roundup.psfhosted.org>
2020-04-28 16:38:42vstinnerlinkissue39995 messages
2020-04-28 16:38:42vstinnercreate