mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-12 23:04:52 +09:00
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:
1 parent
e4aae88614
commit
9a2b2c9f8d
1 file changed
+1
-1
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user