1
0
Fork 0

force recovery tests to fail when not compiled with failure-tests

This commit is contained in:
jsteemann 2017-03-28 09:47:52 +02:00
parent a6242fd474
commit a5013733a2
1 changed files with 2 additions and 1 deletions

View File

@ -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'