From dd8c9ad65bbdf0aeeb5e36604136f21e6a4756ce Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Sun, 4 Apr 2021 06:31:13 -0700 Subject: [PATCH] test: skip test-crypto-dh-keys on armv6 and armv7 The test is too slow to run on the Raspberry Pi bots. (It takes over 500 seconds to run on Pi 3 bots and over 900 seconds on Pi 2 bots.) Skip it on armv6 and armv7. Refs: https://github.com/nodejs/node/pull/34289 PR-URL: https://github.com/nodejs/node/pull/38076 Reviewed-By: Colin Ihrig Reviewed-By: Luigi Pinca Reviewed-By: James M Snell --- test/pummel/test-crypto-dh-keys.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/test/pummel/test-crypto-dh-keys.js b/test/pummel/test-crypto-dh-keys.js index f8f990b5c5ee4a..37095135f85174 100644 --- a/test/pummel/test-crypto-dh-keys.js +++ b/test/pummel/test-crypto-dh-keys.js @@ -21,8 +21,14 @@ 'use strict'; const common = require('../common'); -if (!common.hasCrypto) +if (!common.hasCrypto) { common.skip('node compiled without OpenSSL.'); +} + +if ((process.config.variables.arm_version === '6') || + (process.config.variables.arm_version === '7')) { + common.skip('Too slow for armv6 and armv7 bots'); +} const assert = require('assert'); const crypto = require('crypto');