1
0
Fork 0

Bugfix 3.4/fix typo in endpoints test (#7256)

This commit is contained in:
Wilfried Goesgens 2018-11-07 17:36:49 +01:00 committed by Jan
parent 2befce946e
commit 8278a91a59
1 changed files with 5 additions and 5 deletions

View File

@ -94,7 +94,7 @@ function endpoints (options) {
}, testName);
if (instanceInfo === false) {
result.failed += 1;
results.failed += 1;
return {
failed: 1,
status: false,
@ -102,19 +102,19 @@ function endpoints (options) {
};
}
let result = tu.runInArangosh(options, instanceInfo, testPaths.endpoints[0]);
let oneTestResult = tu.runInArangosh(options, instanceInfo, testPaths.endpoints[0]);
print(CYAN + 'Shutting down...' + RESET);
// mop: mehhh...when launched with a socket we can't use download :S
pu.shutdownInstance(instanceInfo, Object.assign(options, {useKillExternal: true}));
print(CYAN + 'done.' + RESET);
if (!result.status) {
result.failed += 1;
if (!oneTestResult.status) {
results.failed += 1;
} else {
pu.cleanupLastDirectory(options);
}
return result;
return oneTestResult;
}
}());
return results;