From 0a82d27d28d2008dcec6ba931925ea722502e2a1 Mon Sep 17 00:00:00 2001 From: Yagiz Nizipli Date: Sun, 9 Feb 2025 14:30:23 -0500 Subject: [PATCH] test: reduce flakiness on test-net-write-fully-async-buffer PR-URL: https://github.com/nodejs/node/pull/56971 Refs: https://github.com/nodejs/node/actions/runs/13220154720/job/36904132463?pr=56970 Reviewed-By: Matteo Collina Reviewed-By: Marco Ippolito --- test/parallel/test-net-write-fully-async-buffer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/parallel/test-net-write-fully-async-buffer.js b/test/parallel/test-net-write-fully-async-buffer.js index 042dd79cb03..3a3426ba703 100644 --- a/test/parallel/test-net-write-fully-async-buffer.js +++ b/test/parallel/test-net-write-fully-async-buffer.js @@ -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. }