test: print resource stack on error · nodejs/node@98fc665 · GitHub
Skip to content

Commit 98fc665

Browse files
trevnorrisMylesBorins
authored andcommitted
test: print resource stack on error
When running tests with NODE_TEST_WITH_ASYNC_HOOKS and the same asyncId is detected twice print the stack traces of both init() calls. Also print if the resource is the same instance. PR-URL: #14208 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com>
1 parent 81515c7 commit 98fc665

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

test/common/index.js

Lines changed: 6 additions & 3 deletions

0 commit comments

Comments
 (0)