node/test/addons/stringbytes-external-exceed-max
Ali Ijaz Sheikh 7b60b8f8e9 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: James M Snell <jasnell@gmail.com>
2016-05-17 17:24:43 -07:00
..
binding.cc test: fix flakiness of stringbytes-external 2016-05-17 17:24:43 -07:00
binding.gyp test: fix flakiness of stringbytes-external 2016-05-17 17:24:43 -07:00
test-stringbytes-external-at-max.js test: fix flakiness of stringbytes-external 2016-05-17 17:24:43 -07:00
test-stringbytes-external-exceed-max-by-1-ascii.js test: fix flakiness of stringbytes-external 2016-05-17 17:24:43 -07:00
test-stringbytes-external-exceed-max-by-1-base64.js test: fix flakiness of stringbytes-external 2016-05-17 17:24:43 -07:00
test-stringbytes-external-exceed-max-by-1-binary.js test: fix flakiness of stringbytes-external 2016-05-17 17:24:43 -07:00
test-stringbytes-external-exceed-max-by-1-hex.js test: fix flakiness of stringbytes-external 2016-05-17 17:24:43 -07:00
test-stringbytes-external-exceed-max-by-1-utf8.js test: fix flakiness of stringbytes-external 2016-05-17 17:24:43 -07:00
test-stringbytes-external-exceed-max-by-2.js test: fix flakiness of stringbytes-external 2016-05-17 17:24:43 -07:00
test-stringbytes-external-exceed-max.js test: fix flakiness of stringbytes-external 2016-05-17 17:24:43 -07:00