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); }, testName);
if (instanceInfo === false) { if (instanceInfo === false) {
result.failed += 1; results.failed += 1;
return { return {
failed: 1, failed: 1,
status: false, 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); print(CYAN + 'Shutting down...' + RESET);
// mop: mehhh...when launched with a socket we can't use download :S // mop: mehhh...when launched with a socket we can't use download :S
pu.shutdownInstance(instanceInfo, Object.assign(options, {useKillExternal: true})); pu.shutdownInstance(instanceInfo, Object.assign(options, {useKillExternal: true}));
print(CYAN + 'done.' + RESET); print(CYAN + 'done.' + RESET);
if (!result.status) { if (!oneTestResult.status) {
result.failed += 1; results.failed += 1;
} else { } else {
pu.cleanupLastDirectory(options); pu.cleanupLastDirectory(options);
} }
return result; return oneTestResult;
} }
}()); }());
return results; return results;