Skip to content

Commit 32a6dbc

Browse files
rvaggFishrock123
authored andcommitted
test: extend timeouts for ARMv6
Based on tests running on original Raspberry Pi PR-URL: #1554 PORT-PR-URL: #1560 PORT-FROM: v2.x / f9b226c Reviewed-By: Roman Reiss <[email protected]>
1 parent 4030545 commit 32a6dbc

4 files changed

+4
-4
lines changed

test/common.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ exports.platformTimeout = function(ms) {
184184
return ms;
185185

186186
if (process.config.variables.arm_version === '6')
187-
return 6 * ms; // ARMv6
187+
return 7 * ms; // ARMv6
188188

189189
return 2 * ms; // ARMv7 and up.
190190
};

test/parallel/test-child-process-fork-net2.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ if (process.argv[2] === 'child') {
150150
};
151151

152152
var min = 190;
153-
var max = common.platformTimeout(1500);
153+
var max = common.platformTimeout(2000);
154154
process.on('exit', function() {
155155
assert.equal(disconnected, count);
156156
assert.equal(connected, count);

test/parallel/test-debug-signal-cluster.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ function onNoMoreLines() {
5151

5252
setTimeout(function testTimedOut() {
5353
assert(false, 'test timed out.');
54-
}, common.platformTimeout(3000)).unref();
54+
}, common.platformTimeout(4000)).unref();
5555

5656
process.on('exit', function onExit() {
5757
// Kill processes in reverse order to avoid timing problems on Windows where

test/sequential/test-next-tick-error-spin.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ if (process.argv[2] !== 'child') {
88
});
99
var timer = setTimeout(function() {
1010
throw new Error('child is hung');
11-
}, 3000);
11+
}, common.platformTimeout(3000));
1212
child.on('exit', function(code) {
1313
console.error('ok');
1414
assert(!code);

0 commit comments

Comments
 (0)