Speed up generateSSLcert test

Significantly speed up the generateSSLtest by reducing the bits in the
key from 2048 to 512.
This commit is contained in:
Hornwitser committed 2019-10-28 19:46:22 +01:00
1 parent e4aae88614
commit 9a2b2c9f8d
1 file changed
+1 -1
+1 -1
View File
@@ -12,7 +12,7 @@ describe("generateSSLcert.js(options)", ()=>{
assert(!await fs.exists(certPath)); // if it already exsits, the test might pass because of leftover data (which is bad)
await generateSSLcert({
// bits:512, // supported, but I just use the default of 2048 for this test
bits: 512, // This is too small for real world usage, but faster to test
sslCertPath: certPath,
sslPrivKeyPath: privKeyPath,
doLogging: false,