test: normalize Windows crash in debugger test normalization · nodejs/node@d5b47d2 · GitHub
Skip to content

Commit d5b47d2

Browse files
joyeecheungaduh95
authored andcommitted
test: normalize Windows crash in debugger test normalization
The inspector can crash on teardown when the debuggee exits quickly, previously we ignored it for debugger tests as that's likely an upstream issue unrelated to Node.js's own debugger utilities, but the detection only matches patternsf on UNIX-y platforms. On Windows this manifests as exit code 3221225477 (0xC0000005 STATUS_ACCESS_VIOLATION) instead of SIGSEGV. Extend the helper to recognize and normalize both variants. Signed-off-by: Joyee Cheung <joyeec9h3@gmail.com> PR-URL: #64332 Reviewed-By: Stefan Stojanovic <stefan.stojanovic@janeasystems.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Filip Skokan <panva.ip@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent a8ae440 commit d5b47d2

1 file changed

Lines changed: 13 additions & 5 deletions

File tree

test/common/debugger-probe.js

Lines changed: 13 additions & 5 deletions

0 commit comments

Comments
 (0)