summaryrefslogtreecommitdiff
path: root/test/parallel/test-fs-empty-readStream.js
diff options
context:
space:
mode:
authorRoman Reiss <me@silverwind.io>2015-04-07 20:41:07 +0200
committerRoman Reiss <me@silverwind.io>2015-04-09 15:10:34 +0200
commit7049d7b4746dc5dae82d608ac12dc6e1cf11035e (patch)
treec567d2abd2cf2d152d14b120a397282bcce41c3f /test/parallel/test-fs-empty-readStream.js
parentd2b62a49731b9204359b4d346ca0d017fa2c985f (diff)
downloadandroid-node-v8-7049d7b4746dc5dae82d608ac12dc6e1cf11035e.tar.gz
android-node-v8-7049d7b4746dc5dae82d608ac12dc6e1cf11035e.tar.bz2
android-node-v8-7049d7b4746dc5dae82d608ac12dc6e1cf11035e.zip
test: increase timeouts on ARM
This commit introduces platform-specific test timeouts for the ARM architectures. ARMv6 is notoriously slow so gets very large timeouts on both the timeout value for each test, as well as certain problematic individual tests. ARMv7 and ARMv8 also get slightly increased headroom. PR-URL: https://github.com/iojs/io.js/pull/1366 Fixes: https://github.com/iojs/io.js/issues/1343 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Diffstat (limited to 'test/parallel/test-fs-empty-readStream.js')
-rw-r--r--test/parallel/test-fs-empty-readStream.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/parallel/test-fs-empty-readStream.js b/test/parallel/test-fs-empty-readStream.js
index bd6e191297..0c470076da 100644
--- a/test/parallel/test-fs-empty-readStream.js
+++ b/test/parallel/test-fs-empty-readStream.js
@@ -22,7 +22,7 @@ fs.open(emptyFile, 'r', function (error, fd) {
setTimeout(function () {
assert.equal(readEmit, true);
- }, 50);
+ }, common.platformTimeout(50));
});
fs.open(emptyFile, 'r', function (error, fd) {
@@ -43,5 +43,5 @@ fs.open(emptyFile, 'r', function (error, fd) {
setTimeout(function () {
assert.equal(readEmit, false);
- }, 50);
+ }, common.platformTimeout(50));
});