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 asvetlov
Recipients asvetlov, kumaraditya, vstinner, yselivanov
Date 2022-03-22.00:04:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1647907465.74.0.511877963615.issue47076@roundup.psfhosted.org>
In-reply-to
Content
> The problem is more that a sleep is not a reliable synchronization primitive

Yes, sure! I'm trying to avoid 'sleep for synchronization' when I'm writing new tests or fixing existing ones.

The problem with this particular queue tests is: I rewrote old-styled tests that used a loop time shift generator with IsolatedAsyncioTestCase keeping the minimal invasive changes.  It doesn't work well, now tiny shifts are removed; only 'await sleep(0)' are left when a bare context switch is needed without a delay.
History
Date User Action Args
2022-03-22 00:04:25asvetlovsetrecipients: + asvetlov, vstinner, yselivanov, kumaraditya
2022-03-22 00:04:25asvetlovsetmessageid: <1647907465.74.0.511877963615.issue47076@roundup.psfhosted.org>
2022-03-22 00:04:25asvetlovlinkissue47076 messages
2022-03-22 00:04:25asvetlovcreate