-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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
investigate flaky test-child-process-exec-abortcontroller-promisified on Windows CI #37568
Comments
This seems likely to have been introduced by #37325. @Linkgoron @benjamingr |
@nodejs/testing @nodejs/platform-windows @nodejs/child_process |
Yes, this is obviously my added test. Looks an issue with background timeout: I'd be happy to replace the timeout command with anything long-running. The test needs something long-running enough to give the node process time to kill it. The above suggests using Have you seen any issues with the |
Could we use |
Or even |
Yes, but it needs something with a low enough timeout, so that it would die close enough to the end of the test but also high enough so that it would 100% get killed by the node process (test) before the timeout is up. The issue is that at the end of the tests, the tests use @Trott setInterval didn't work for me, that was my original solution - before relying on TIMEOUT/sleep. see #37518 |
On Windows, even setInterval would work |
A potential fix would be to keep using |
I'm not sure why we would change everything if the issue is only on windows, but your fix should work. |
Surprised there isn't already an issue for this one. It's been happening a lot lately. I think it is only on the 32-bit Windows in CI.
Here's an example:
The text was updated successfully, but these errors were encountered: