-
-
Notifications
You must be signed in to change notification settings - Fork 31.5k
test: add common.crashOnUnhandledRejection() #17212
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Conversation
also add comment in test/parallel/test-http2-client-promisify-connect.js
@@ -1,6 +1,10 @@ | |||
'use strict'; | |||
|
|||
const common = require('../common'); | |||
common.crashOnUnhandledRejection(); | |||
|
|||
// Crash the process on unhandled rejections. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think that this comment is necessary, can you please remove it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with comment removed.
CI failure on alpine linux appears unrelated. |
I'll be fixing @MylesBorins' nit on landing. |
PR-URL: #17212 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Landed in f7c8d23 with the comment removed and commit message slightly updated. |
PR-URL: #17212 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
PR-URL: #17212 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
PR-URL: #17212 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
PR-URL: #17212 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
also add comment in test/parallel/test-http2-client-promisify-connect.js
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes(https://github.com/nodejs/node/blob/master/CONTRIBUTING.md#commit-message-guidelines)
Affected core subsystem(s)