mirror of https://gitee.com/bigwinds/arangodb
try..catch to avoid useless failures
This commit is contained in:
parent
fd70b6fc34
commit
35311178fd
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue