Skip to content

Commit b4bc311

Browse files
anonrigacidiney
authored andcommitted
test: reduce flakiness on test-net-write-fully-async-buffer
PR-URL: nodejs#56971 Refs: https://github.com/nodejs/node/actions/runs/13220154720/job/36904132463?pr=56970 Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Marco Ippolito <[email protected]>
1 parent 936d0e6 commit b4bc311

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-net-write-fully-async-buffer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const server = net.createServer(common.mustCall(function(conn) {
2323
}
2424

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

0 commit comments

Comments
 (0)