mirror of
https://github.com/nodejs/node.git
synced 2026-11-25 23:01:06 -05:00
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 <matteo.collina@gmail.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
This commit is contained in:
1 parent
ab150d7781
commit
0a82d27d28
1 file changed
+1
-1
@@ -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.
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user