We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 664b8f2 commit 3dc5061Copy full SHA for 3dc5061
test/stress-test.js
@@ -65,8 +65,11 @@ export default async function execute () {
65
const LOGGING_ENABLED = fromEnvOrDefault('STRESS_TEST_LOGGING_ENABLED', false)
66
67
const config = {
68
- logging: neo4j.logging.console(LOGGING_ENABLED ? 'debug' : 'info'),
69
- encrypted: isRemoteCluster()
+ logging: neo4j.logging.console(LOGGING_ENABLED ? 'debug' : 'info')
+ }
70
+
71
+ if (isSslSchemeNotSet(DATABASE_URI)) {
72
+ config.encrypted = isRemoteCluster()
73
}
74
75
const driver = neo4j.driver(
0 commit comments