Skip to content

Commit

Permalink
test: add debugging output for flaky test
Browse files Browse the repository at this point in the history
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: nodejs#31089
  • Loading branch information
Trott committed Jul 8, 2020
1 parent b99253c commit bb02b38
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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', () => { });
Expand Down

0 comments on commit bb02b38

Please sign in to comment.