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 15c295a

Browse filesBrowse files
Fishrock123Myles Borins
authored andcommitted
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 fd250b8 commit 15c295a
Copy full SHA for 15c295a

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
@@ -243,10 +243,15 @@ exports.platformTimeout = function(ms) {
243243
if (process.arch !== 'arm')
244244
return ms;
245245

246-
if (process.config.variables.arm_version === '6')
246+
const armv = process.config.variables.arm_version;
247+
248+
if (armv === '6')
247249
return 7 * ms; // ARMv6
248250

249-
return 2 * ms; // ARMv7 and up.
251+
if (armv === '7')
252+
return 2 * ms; // ARMv7
253+
254+
return ms; // ARMv8+
250255
};
251256

252257
var knownGlobals = [setTimeout,

0 commit comments

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