Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 668449a

Browse filesBrowse files
committed
test: use regular timeout times for ARMv8
ARMv8 machines are typically quite fast and likely may not need extended timeout times. PR-URL: #4248 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Rod Vagg <rod@vagg.org> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
1 parent 671347c commit 668449a
Copy full SHA for 668449a

File tree

Expand file treeCollapse file tree

1 file changed

+7
-2
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+7
-2
lines changed
Open diff view settings
Collapse file

‎test/common.js‎

Copy file name to clipboardExpand all lines: test/common.js
+7-2Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -245,10 +245,15 @@ exports.platformTimeout = function(ms) {
245245
if (process.arch !== 'arm')
246246
return ms;
247247

248-
if (process.config.variables.arm_version === '6')
248+
const armv = process.config.variables.arm_version;
249+
250+
if (armv === '6')
249251
return 7 * ms; // ARMv6
250252

251-
return 2 * ms; // ARMv7 and up.
253+
if (armv === '7')
254+
return 2 * ms; // ARMv7
255+
256+
return ms; // ARMv8+
252257
};
253258

254259
var knownGlobals = [setTimeout,

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.