mirror of https://gitee.com/bigwinds/arangodb
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
This commit is contained in:
commit
00bffcda28
|
@ -117,7 +117,9 @@ Any violation of the strict mode will trigger a runtime error.
|
|||
|
||||
Internally, user functions are stored in a system collection named
|
||||
*_aqlfunctions* of the selected database.
|
||||
That means that by default they are excluded from dumps
|
||||
created with [arangodump](../HttpBulkImports/Arangodump.md).
|
||||
To include AQL user functions in a dump, the dump should be started
|
||||
with the option *--include-system-collections true*.
|
||||
Documents in this collection should not be accessed directly, but
|
||||
only via the dedicated interfaces.
|
||||
Also system collection are excluded from dumps created with
|
||||
[arangodump](../HttpBulkImports/Arangodump.md). To include AQL user
|
||||
functions in a dump, the dump should be started with the
|
||||
option *--include-system-collections true*.
|
||||
|
|
|
@ -2996,6 +2996,7 @@ const recoveryTests = [
|
|||
|
||||
testFuncs.recovery = function(options) {
|
||||
let results = {};
|
||||
let status = true;
|
||||
|
||||
for (let i = 0; i < recoveryTests.length; ++i) {
|
||||
let test = recoveryTests[i];
|
||||
|
@ -3010,9 +3011,17 @@ testFuncs.recovery = function(options) {
|
|||
}
|
||||
|
||||
results[test] = instanceInfo.pid;
|
||||
|
||||
if (!results[test].status) {
|
||||
status = false;
|
||||
}
|
||||
}
|
||||
|
||||
return results;
|
||||
results.status = status;
|
||||
|
||||
return {
|
||||
recovery: results
|
||||
};
|
||||
};
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
@ -3852,7 +3861,6 @@ function unitTest(which, options) {
|
|||
if (thisReply.hasOwnProperty(i)) {
|
||||
if (thisReply[i].status !== true) {
|
||||
ok = false;
|
||||
allok = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -3861,7 +3869,7 @@ function unitTest(which, options) {
|
|||
results.status = ok;
|
||||
results.crashed = serverCrashed;
|
||||
|
||||
if (allok) {
|
||||
if (ok) {
|
||||
cleanupDBDirectories(options);
|
||||
} else {
|
||||
print("since some tests weren't successfully, not cleaning up: \n" +
|
||||
|
@ -3873,7 +3881,7 @@ function unitTest(which, options) {
|
|||
if (jsonReply === true) {
|
||||
return results;
|
||||
} else {
|
||||
return allok;
|
||||
return ok;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue