Skip to content

Commit

Permalink
test: reduce flakiness on test-net-write-fully-async-buffer
Browse files Browse the repository at this point in the history
PR-URL: #56971
Refs: https://github.com/nodejs/node/actions/runs/13220154720/job/36904132463?pr=56970
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
  • Loading branch information
anonrig authored and nodejs-github-bot committed Feb 11, 2025
1 parent 20b01b7 commit 66549b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-net-write-fully-async-buffer.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const server = net.createServer(common.mustCall(function(conn) {
}

while (conn.write(Buffer.from(data)));
globalThis.gc({ type: 'minor' });
globalThis.gc({ type: 'major' });
// The buffer allocated above should still be alive.
}

Expand Down

0 comments on commit 66549b4

Please sign in to comment.