-
-
Notifications
You must be signed in to change notification settings - Fork 33.6k
Description
- Version: v13.0.0-pre
- Platform: macOS Mojave
- Subsystem: test, async-hooks
In test/async-hooks/test-ttywrap.writestream.js, there is delayedOnCloseHandler() which is supposed to check the async-hooks graph. When I run directly with the node executable, the test fails. When run with tools/test.py, though, the test passes. On my computer, at least, I can change the contents of delayedOnCloseHandler() to anything. It can just be a throw statement. The test will fail as expected when run directly with node but will pass when run with tools/test.py.
First, can someone else confirm this so that we can label this with confirmed-bug (or find that they don't experience this behavior in which case I can look more closely at exactly what I'm doing wrong).
Second, does anyone know why this would be the case?
@nodejs/testing @nodejs/async_hooks