From 73c35c2fcc3f2385ad29b1f20742ecba22f7a3b5 Mon Sep 17 00:00:00 2001 From: Robert Nagy Date: Fri, 3 Jan 2020 22:34:07 +0100 Subject: [PATCH] fixup: http2 --- test/parallel/test-http2-client-destroy.js | 2 +- .../parallel/test-http2-client-stream-destroy-before-connect.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/parallel/test-http2-client-destroy.js b/test/parallel/test-http2-client-destroy.js index 88850b9db51ccc..12da903c6535a0 100644 --- a/test/parallel/test-http2-client-destroy.js +++ b/test/parallel/test-http2-client-destroy.js @@ -95,7 +95,7 @@ const Countdown = require('../common/countdown'); }); req.resume(); - req.on('end', common.mustCall()); + req.on('end', common.mustNotCall()); req.on('close', common.mustCall(() => server.close())); })); } diff --git a/test/parallel/test-http2-client-stream-destroy-before-connect.js b/test/parallel/test-http2-client-stream-destroy-before-connect.js index 09667750ae16fd..087b06d01bd837 100644 --- a/test/parallel/test-http2-client-stream-destroy-before-connect.js +++ b/test/parallel/test-http2-client-stream-destroy-before-connect.js @@ -50,5 +50,5 @@ server.listen(0, common.mustCall(() => { req.on('response', common.mustNotCall()); req.resume(); - req.on('end', common.mustCall()); + req.on('end', common.mustNotCall()); }));