Commit 7b60b8f8 authored by Ali Ijaz Sheikh's avatar Ali Ijaz Sheikh Committed by Myles Borins
Browse files

test: fix flakiness of stringbytes-external

The tests used to rely on precise timing of when a JavaScript object
would be garbage collected to ensure that there is enough memory
available on the system. Switch the test to use a malloc/free pair
instead.

Ref: https://github.com/nodejs/node/pull/5945
Ref: https://github.com/nodejs/node/pull/6039
Ref: https://github.com/nodejs/node/pull/6073

PR-URL: https://github.com/nodejs/node/pull/6705


Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
parent cc4c5187
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment