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
  • Loading branch information
anonrig committed Feb 9, 2025
1 parent a2aa6ca commit 72eae6d
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 72eae6d

Please sign in to comment.