From a5013733a2a9d9aa232457cbadf4742f1bf834f5 Mon Sep 17 00:00:00 2001 From: jsteemann Date: Tue, 28 Mar 2017 09:47:52 +0200 Subject: [PATCH] force recovery tests to fail when not compiled with failure-tests --- js/client/modules/@arangodb/testing.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/client/modules/@arangodb/testing.js b/js/client/modules/@arangodb/testing.js index e06aa2fdf2..70be67253f 100644 --- a/js/client/modules/@arangodb/testing.js +++ b/js/client/modules/@arangodb/testing.js @@ -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'