mirror of https://gitee.com/bigwinds/arangodb
Bugfix 3.4/fix typo in endpoints test (#7256)
This commit is contained in:
parent
2befce946e
commit
8278a91a59
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue