mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-12 23:04:52 +09:00
Fix integration test certificate path
Fix integration tests using the default certificate paths instead of having them located in the dedicated test database directory. Also increment key size to the minimum allowed of 1024.
This commit is contained in:
1 parent
38c392ff6d
commit
00d1d304d2
1 file changed
+3
-1
@@ -77,7 +77,9 @@ before(async function() {
|
||||
await exec(`node master --config ${masterConfigPath} config set master.auth_secret TestSecretDoNotUse`);
|
||||
await exec(`node master --config ${masterConfigPath} config set master.http_port 8880`);
|
||||
await exec(`node master --config ${masterConfigPath} config set master.https_port 4443`);
|
||||
await exec(`node master --config ${masterConfigPath} config set master.tls_bits 512`);
|
||||
await exec(`node master --config ${masterConfigPath} config set master.tls_certificate ${path.join(databaseDir, "cert.crt")}`);
|
||||
await exec(`node master --config ${masterConfigPath} config set master.tls_private_key ${path.join(databaseDir, "cert.key")}`);
|
||||
await exec(`node master --config ${masterConfigPath} config set master.tls_bits 1024`);
|
||||
await exec(`node master --config ${masterConfigPath} config set master.heartbeat_interval 0.25`);
|
||||
await exec(`node master --config ${masterConfigPath} config set master.connector_shutdown_timeout 2`);
|
||||
|
||||
|
||||
Reference in new issue
Block a user