-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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-worker-ref-onexit #26167
Comments
See also #26083 (comment) … if this is an AIX-specific problem (which I guess it could be?), I’m not sure how to best debug it. One idea could be that the Worker finishes before the current event loop turn is over. Something like this might fix it? diff --git a/test/parallel/test-worker-ref-onexit.js b/test/parallel/test-worker-ref-onexit.js
index 0250c592ce91..968f0fe31e9e 100644
--- a/test/parallel/test-worker-ref-onexit.js
+++ b/test/parallel/test-worker-ref-onexit.js
@@ -5,6 +5,6 @@ const { Worker } = require('worker_threads');
// Check that worker.unref() makes the 'exit' event not be emitted, if it is
// the only thing we would otherwise be waiting for.
-const w = new Worker('', { eval: true });
+const w = new Worker('while(true);', { eval: true });
w.unref();
w.on('exit', common.mustNotCall()); |
AIX stress test with 1000 runs: https://ci.nodejs.org/job/node-stress-single-test/2157/ (failed 34/267) |
Haven't seen this one before. Might be difficult to reproduce (but I haven't tried yet).
https://ci.nodejs.org/job/node-test-commit-aix/21132/nodes=aix61-ppc64/console
test-osuosl-aix61-ppc64_be-1
The text was updated successfully, but these errors were encountered: