Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: skip some pummel tests on slower machines #38394

Merged
merged 1 commit into from Apr 27, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
9 changes: 8 additions & 1 deletion test/pummel/test-crypto-dh-hash-modp18.js
Expand Up @@ -21,8 +21,15 @@

'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');
Expand Down
9 changes: 8 additions & 1 deletion test/pummel/test-crypto-dh-hash.js
Expand Up @@ -21,8 +21,15 @@

'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');
Expand Down
1 change: 1 addition & 0 deletions test/pummel/test-crypto-dh-keys.js
Expand Up @@ -21,6 +21,7 @@

'use strict';
const common = require('../common');

if (!common.hasCrypto) {
common.skip('node compiled without OpenSSL.');
}
Expand Down
9 changes: 8 additions & 1 deletion test/pummel/test-dh-regr.js
Expand Up @@ -21,8 +21,15 @@

'use strict';
const common = require('../common');
if (!common.hasCrypto)

if (!common.hasCrypto) {
common.skip('missing crypto');
}

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');
Expand Down
7 changes: 6 additions & 1 deletion test/pummel/test-next-tick-infinite-calls.js
Expand Up @@ -20,7 +20,12 @@
// USE OR OTHER DEALINGS IN THE SOFTWARE.

'use strict';
require('../common');
const common = require('../common');

if ((process.config.variables.arm_version === '6') ||
(process.config.variables.arm_version === '7')) {
common.skip('Too slow for armv6 and armv7 bots');
}

let complete = 0;

Expand Down
11 changes: 10 additions & 1 deletion test/pummel/test-policy-integrity.js
@@ -1,7 +1,16 @@
'use strict';

const common = require('../common');
if (!common.hasCrypto) common.skip('missing crypto');

if (!common.hasCrypto) {
common.skip('missing crypto');
}

if ((process.config.variables.arm_version === '6') ||
(process.config.variables.arm_version === '7')) {
common.skip('Too slow for armv6 and armv7 bots');
}

common.requireNoPackageJSONAbove();

const { debuglog } = require('util');
Expand Down