Skip to content

Commit

Permalink
test: remove flakiness on macOS test
Browse files Browse the repository at this point in the history
  • Loading branch information
anonrig authored and targos committed Feb 17, 2025
1 parent 9f1b3f7 commit ab150d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-net-write-fully-async-hex-string.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const server = net.createServer(common.mustCall(function(conn) {
}

while (conn.write(data, 'hex'));
globalThis.gc({ type: 'minor' });
globalThis.gc({ type: 'major' });
// The buffer allocated inside the .write() call should still be alive.
}

Expand Down

0 comments on commit ab150d7

Please sign in to comment.