summaryrefslogtreecommitdiff
path: root/test/async-hooks/test-getnameinforeqwrap.js
diff options
context:
space:
mode:
authorAndreas Madsen <amwebdk@gmail.com>2017-06-14 12:39:53 +0200
committerAndreas Madsen <amwebdk@gmail.com>2017-06-14 12:39:53 +0200
commitde762b71f2e10d8eb6392ad6d4325b7ffc08b7fd (patch)
treee22a8325b4f994455f0959c311c4edf8a5095d43 /test/async-hooks/test-getnameinforeqwrap.js
parent448c4c62d2b413226dfdef03d6f8d243de0984a3 (diff)
downloadandroid-node-v8-de762b71f2e10d8eb6392ad6d4325b7ffc08b7fd.tar.gz
android-node-v8-de762b71f2e10d8eb6392ad6d4325b7ffc08b7fd.tar.bz2
android-node-v8-de762b71f2e10d8eb6392ad6d4325b7ffc08b7fd.zip
async_hooks: rename currentId and triggerId
currentId is renamed to executionAsyncId triggerId is renamed to triggerAsyncId AsyncResource.triggerId is renamed to AsyncResource.triggerAsyncId AsyncHooksGetCurrentId is renamed to AsyncHooksGetExecutionAsyncId AsyncHooksGetTriggerId is renamed to AsyncHooksGetTriggerAsyncId PR-URL: https://github.com/nodejs/node/pull/13490 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Trevor Norris <trev.norris@gmail.com>
Diffstat (limited to 'test/async-hooks/test-getnameinforeqwrap.js')
-rw-r--r--test/async-hooks/test-getnameinforeqwrap.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/async-hooks/test-getnameinforeqwrap.js b/test/async-hooks/test-getnameinforeqwrap.js
index e7b9a4aca8..071462dddc 100644
--- a/test/async-hooks/test-getnameinforeqwrap.js
+++ b/test/async-hooks/test-getnameinforeqwrap.js
@@ -21,7 +21,7 @@ function onlookupService(err_, ip, family) {
const a = as[0];
assert.strictEqual(a.type, 'GETNAMEINFOREQWRAP');
assert.strictEqual(typeof a.uid, 'number');
- assert.strictEqual(a.triggerId, 1);
+ assert.strictEqual(a.triggerAsyncId, 1);
checkInvocations(a, { init: 1, before: 1 },
'while in onlookupService callback');
tick(2);