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);
|
}, 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;
|
||||||
|
|
Loading…
Reference in New Issue