summaryrefslogtreecommitdiff
path: root/test/parallel/test-http2-timeouts.js
diff options
context:
space:
mode:
authorJeremiah Senkpiel <fishrock123@rocketmail.com>2017-12-17 00:21:37 -0500
committerJeremiah Senkpiel <fishrock123@rocketmail.com>2017-12-20 18:28:11 -0500
commit93eb68e6d23c66b85e8f79540500d5d9f0bbc396 (patch)
tree73fd091536ed711f3d03a8a3e3d565a6c6aca435 /test/parallel/test-http2-timeouts.js
parent593941ac0b72a24eca87fb1c33eb1d7f8f841ab9 (diff)
downloadandroid-node-v8-93eb68e6d23c66b85e8f79540500d5d9f0bbc396.tar.gz
android-node-v8-93eb68e6d23c66b85e8f79540500d5d9f0bbc396.tar.bz2
android-node-v8-93eb68e6d23c66b85e8f79540500d5d9f0bbc396.zip
http2: use actual Timeout instances
This makes `Http2Stream`s and `Http2Session`s use actual Timeout objects in a [kTimeout] symbol property, rather than making the stream/session itself a timer and appending properties to it directly. PR-URL: https://github.com/nodejs/node/pull/17704 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Diffstat (limited to 'test/parallel/test-http2-timeouts.js')
-rw-r--r--test/parallel/test-http2-timeouts.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/parallel/test-http2-timeouts.js b/test/parallel/test-http2-timeouts.js
index 083dcaf40c..db5822776a 100644
--- a/test/parallel/test-http2-timeouts.js
+++ b/test/parallel/test-http2-timeouts.js
@@ -20,7 +20,8 @@ server.on('stream', common.mustCall((stream) => {
{
code: 'ERR_INVALID_ARG_TYPE',
type: TypeError,
- message: 'The "msecs" argument must be of type number'
+ message:
+ 'The "msecs" argument must be of type number. Received type string'
}
);
common.expectsError(