summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Wei <scorpionseed@gmail.com>2017-11-22 16:50:40 +0800
committerJames M Snell <jasnell@gmail.com>2017-11-22 08:07:00 -0800
commita3a987b4b80ec680fd2ffa7ab9f4aae4c3abaab5 (patch)
treee18f5c20ce1aac99a63468626d61601b4077ac9b
parent96093981deb30ee00eb0a72301cd9a02878bae87 (diff)
downloadandroid-node-v8-a3a987b4b80ec680fd2ffa7ab9f4aae4c3abaab5.tar.gz
android-node-v8-a3a987b4b80ec680fd2ffa7ab9f4aae4c3abaab5.tar.bz2
android-node-v8-a3a987b4b80ec680fd2ffa7ab9f4aae4c3abaab5.zip
test: use common.crashOnUnhandledRejection()
add common.crashOnUnhandledRejectio to test-http2-window-size.js PR-URL: https://github.com/nodejs/node/pull/17227 Reviewed-By: Myles Borins <myles.borins@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com>
-rw-r--r--test/parallel/test-http2-window-size.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/parallel/test-http2-window-size.js b/test/parallel/test-http2-window-size.js
index d6c6bf3fed..381416c0d2 100644
--- a/test/parallel/test-http2-window-size.js
+++ b/test/parallel/test-http2-window-size.js
@@ -10,6 +10,7 @@ if (!common.hasCrypto)
common.skip('missing crypto');
const assert = require('assert');
const h2 = require('http2');
+common.crashOnUnhandledRejection();
// Given a list of buffers and an initial window size, have a server write
// each buffer to the HTTP2 Writable stream, and let the client verify that