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

sleep in "test threadpool with async" is non-deterministic #715

Open
jamessan opened this issue Aug 31, 2024 · 0 comments
Open

sleep in "test threadpool with async" is non-deterministic #715

jamessan opened this issue Aug 31, 2024 · 0 comments

Comments

@jamessan
Copy link
Contributor

Debian's CI for arm64 has recently started failing this test more often than not.

I increased the sleep to 100 and some local tests show that to be more reliable, but it would be better if there were a deterministic way to know when the async callback has been run.

I was thinking of a semaphore, but I noticed that uv API doesn't appear to be exposed in luv. Open to ideas, but for now I'll probably patch the test to use a longer sleep.

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

No branches or pull requests

1 participant