test: fix flaky streams test
authorRich Trott <rtrott@gmail.com>
Sun, 3 Jan 2016 05:39:55 +0000 (21:39 -0800)
committerMyles Borins <mborins@us.ibm.com>
Tue, 19 Jan 2016 19:52:35 +0000 (11:52 -0800)
commitb8f097ece2ccf12de91fe5da50d69f9c609b36e9
treed5b6b819b02990ddb377c28b6b8fd19423e2102d
parentc24fa1437c4b7c25e95fc94b91ac1f197b1835d8
test: fix flaky streams test

Use common.platformTimeout() to fix flaky
test-stream2-readable-empty-buffer-no-eofi on Raspberry Pis.

Fixes: https://github.com/nodejs/node/issues/4493
PR-URL: https://github.com/nodejs/node/pull/4516
Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
Reviewed-By: Evan Lucas <evanlucas@me.com>
Reviewed-By: James M Snell<jasnell@gmail.com>
test/parallel/test-stream2-readable-empty-buffer-no-eof.js