Commit f4ebd598 authored by Ali Ijaz Sheikh's avatar Ali Ijaz Sheikh
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
PR-URL: https://github.com/nodejs/node/pull/6039


Reviewed-By: default avatarjasnell - James M Snell <jasnell@gmail.com>
Reviewed-By: default avatarevanlucas - Evan Lucas <evanlucas@me.com>
Reviewed-By: default avatarTrott - Rich Trott <rtrott@gmail.com>
parent 2d7e3161
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