Commit b42e3783 authored by Jérémy Lal's avatar Jérémy Lal

Path fixing flaky http2-connect test

parent 04730b6f
......@@ -35,3 +35,4 @@ doctool-debian-js-yaml.patch
openssl/fixups.patch
fix_disable_cctest.patch
benchmark_without_alice.patch
test-http2-connect-upstream-fix.patch
Description: fix test flakyness, inspired by upstream fix
Forwarded: not-needed
Last-Update: 2017-12-25
Origin: https://github.com/nodejs/node/blob/81c2b59609b5a354219acc5cc0f376be5be86cc4/test/parallel/test-http2-connect.js#L39
--- a/test/parallel/test-http2-connect.js
+++ b/test/parallel/test-http2-connect.js
@@ -33,7 +33,7 @@
// check for https as protocol
{
const authority = 'https://localhost';
- doesNotThrow(() => connect(authority));
+ doesNotThrow(() => connect(authority).on('error', () => {}));
}
// check for error for an invalid protocol (not http or https)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment