test: avoid test timeouts on rpi
authorStefan Budeanu <stefan@budeanu.com>
Wed, 18 Nov 2015 16:40:32 +0000 (11:40 -0500)
committerJames M Snell <jasnell@gmail.com>
Wed, 23 Dec 2015 16:38:33 +0000 (08:38 -0800)
commitdf21360b4798538f12fc2e718e9efa0e82b4cc47
tree9da07ff971c20a6bb4c91398ef18a2c82f96cd8e
parent2fe6b45c2997bb8727dbaac2289539e296c999ad
test: avoid test timeouts on rpi

Generating 1024-bit primes on rpi test machines sometimes
causes timeouts. Avoid this situation by using 256-bit
primes when not running in FIPS mode.

PR-URL: https://github.com/nodejs/node/pull/3902
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-By: Ben Noordhuis <ben@strongloop.com>
test/parallel/test-crypto-binary-default.js
test/parallel/test-crypto-dh.js