1
0
Fork 0

try..catch to avoid useless failures

This commit is contained in:
jsteemann 2019-01-29 17:58:11 +01:00
parent fd70b6fc34
commit 35311178fd
1 changed files with 8 additions and 6 deletions

View File

@ -168,12 +168,14 @@ function recovery (options) {
print(BLUE + "running recovery of test " + count + " - " + test + RESET);
params.options.disableMonitor = options.disableMonitor;
params.setup = false;
tu.writeTestResult(params.args['temp.path'], {
failed: 1,
status: false,
message: "unable to run recovery test " + test,
duration: -1
});
try {
tu.writeTestResult(params.args['temp.path'], {
failed: 1,
status: false,
message: "unable to run recovery test " + test,
duration: -1
});
} catch (er) {}
runArangodRecovery(params);
results[test] = tu.readTestResult(