mirror of https://gitee.com/bigwinds/arangodb
force recovery tests to fail when not compiled with failure-tests
This commit is contained in:
parent
a6242fd474
commit
a5013733a2
|
@ -2379,7 +2379,8 @@ function runArangodRecovery (instanceInfo, options, script, setup) {
|
|||
testFuncs.recovery = function (options) {
|
||||
let results = {};
|
||||
|
||||
if (!global.ARANGODB_CLIENT_VERSION(true)['failure-tests']) {
|
||||
if (!global.ARANGODB_CLIENT_VERSION(true)['failure-tests'] ||
|
||||
global.ARANGODB_CLIENT_VERSION(true)['failure-tests'] === "false") {
|
||||
results.recovery = {
|
||||
status: false,
|
||||
message: 'failure-tests not enabled. please recompile with -DUSE_FAILURE_TESTS=On'
|
||||
|
|
Loading…
Reference in New Issue