mirror of https://gitee.com/bigwinds/arangodb
turn off LDAP tests by default in community builds
This commit is contained in:
parent
6fad62e53d
commit
cb189bd973
|
@ -236,6 +236,17 @@ exports.setup = function (testFns, defaultFns, opts, fnDocs, optionsDoc) {
|
|||
opts['ldapUrl'] = '127.0.0.1';
|
||||
opts['caCertFilePath'] = '~/ca_cert.pem';
|
||||
|
||||
// turn off ldap tests by default. only enable them in enterprise version
|
||||
opts['skipLdap'] = true;
|
||||
|
||||
let version = {};
|
||||
if (global.ARANGODB_CLIENT_VERSION) {
|
||||
version = global.ARANGODB_CLIENT_VERSION(true);
|
||||
if (version['enterprise-version']) {
|
||||
opts['skipLdap'] = false;
|
||||
}
|
||||
}
|
||||
|
||||
for (var attrname in functionsDocumentation) { fnDocs[attrname] = functionsDocumentation[attrname]; }
|
||||
for (var i = 0; i < optionsDocumentation.length; i++) { optionsDoc.push(optionsDocumentation[i]); }
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue