-
Notifications
You must be signed in to change notification settings - Fork 30k
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
test: extend async addon test #14922
Conversation
Test more current behaviour, based on discussions in nodejs#14697.
9b48e76
to
610542e
Compare
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.
two nits. otherwise LGTM
@@ -52,7 +62,7 @@ void AfterAsync(uv_work_t* r) { | |||
node::FatalException(isolate, try_catch); | |||
} | |||
} | |||
|
|||
template <bool use_makecallback> |
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.
nit: mind adding the empty line above this again?
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.
sorry, yes.
v8::Local<v8::Function> callback = | ||
v8::Local<v8::Function>::New(isolate, req->callback); | ||
callback->Call(isolate->GetCurrentContext()->Global(), 2, argv); | ||
|
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.
nit: trailing whitespace here
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.
thanks for catching this!
CI: https://ci.nodejs.org/job/node-test-commit/11987/ This should be ready. |
Landed in 7e54424 |
Test more current behaviour, based on discussions in #14697. PR-URL: #14922 Reviewed-By: Trevor Norris <[email protected]> Reviewed-By: James M Snell <[email protected]>
Test more current behaviour, based on discussions in nodejs/node#14697. PR-URL: nodejs/node#14922 Reviewed-By: Trevor Norris <[email protected]> Reviewed-By: James M Snell <[email protected]>
Test more current behaviour, based on discussions in nodejs/node#14697. PR-URL: nodejs/node#14922 Reviewed-By: Trevor Norris <[email protected]> Reviewed-By: James M Snell <[email protected]>
Test more current behaviour, based on discussions in #14697. PR-URL: #14922 Reviewed-By: Trevor Norris <[email protected]> Reviewed-By: James M Snell <[email protected]>
Test more current behaviour, based on discussions in #14697. PR-URL: #14922 Reviewed-By: Trevor Norris <[email protected]> Reviewed-By: James M Snell <[email protected]>
Test more current behaviour, based on discussions in #14697. PR-URL: #14922 Reviewed-By: Trevor Norris <[email protected]> Reviewed-By: James M Snell <[email protected]>
Test more current behaviour, based on discussions in #14697.
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes (presumably … do you know how longmake test
takes by now?)Affected core subsystem(s)
test/addons
@trevnorris
Quick CI: https://ci.nodejs.org/job/node-test-commit-linuxone/8090/nodes=rhel72-s390x/