From bb02b387c6d9d6868bfdee01395baa5ab149c134 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Wed, 8 Jul 2020 06:04:54 -0700 Subject: [PATCH] test: add debugging output for flaky test Add some debugging output for flaky http2 test to try to figure out what's going on the next time it fails in CI. Refs: https://github.com/nodejs/node/issues/31089 --- test/parallel/test-http2-large-writes-session-memory-leak.js | 1 + 1 file changed, 1 insertion(+) diff --git a/test/parallel/test-http2-large-writes-session-memory-leak.js b/test/parallel/test-http2-large-writes-session-memory-leak.js index 641923c06c9133..b6f7387d10c597 100644 --- a/test/parallel/test-http2-large-writes-session-memory-leak.js +++ b/test/parallel/test-http2-large-writes-session-memory-leak.js @@ -37,6 +37,7 @@ server.listen(0, common.mustCall(() => { // create new streams. let streamsLeft = 50; function newStream() { + console.log(`streamsLeft: ${streamsLeft}`); const stream = client.request({ ':path': '/' }); stream.on('data', () => { });