mirror of https://gitee.com/bigwinds/arangodb
fix various issues
This commit is contained in:
parent
2554718122
commit
f8d8a561a4
|
@ -220,7 +220,7 @@ function performTests (options, testList, testname, runFn, serverOptions, startS
|
|||
collectionsAfter.push(collection._name);
|
||||
});
|
||||
let delta = diffArray(collectionsBefore, collectionsAfter);
|
||||
print(delta)
|
||||
print(delta);
|
||||
if ((delta.length !== 0) && (! _.isEqual(delta, ['_foxxlog']))) {
|
||||
results[te] = {
|
||||
status: false,
|
||||
|
|
|
@ -442,22 +442,26 @@ function ReplicationLoggerSuite () {
|
|||
var tick = getLastLogTick();
|
||||
|
||||
var c = db._create("_unittests", { isSystem : true });
|
||||
|
||||
try {
|
||||
var entry = getLogEntries(tick, 2000)[0];
|
||||
|
||||
var entry = getLogEntries(tick, 2000)[0];
|
||||
assertEqual(2000, entry.type);
|
||||
assertEqual(c._id, entry.cid);
|
||||
assertEqual(c.name(), entry.data.name);
|
||||
|
||||
assertEqual(2000, entry.type);
|
||||
assertEqual(c._id, entry.cid);
|
||||
assertEqual(c.name(), entry.data.name);
|
||||
tick = getLastLogTick();
|
||||
c.properties({ waitForSync : true });
|
||||
|
||||
tick = getLastLogTick();
|
||||
c.properties({ waitForSync : true });
|
||||
entry = getLogEntries(tick, 2003)[0];
|
||||
assertEqual(2003, entry.type);
|
||||
assertEqual(c._id, entry.cid);
|
||||
assertEqual(true, entry.data.waitForSync);
|
||||
|
||||
entry = getLogEntries(tick, 2003)[0];
|
||||
assertEqual(2003, entry.type);
|
||||
assertEqual(c._id, entry.cid);
|
||||
assertEqual(true, entry.data.waitForSync);
|
||||
|
||||
tick = getLastLogTick();
|
||||
tick = getLastLogTick();
|
||||
} finally {
|
||||
db._drop("_unittests", true);
|
||||
}
|
||||
},
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
|
@ -195,6 +195,7 @@ function ReplicationSuite() {
|
|||
|
||||
db._drop(cn);
|
||||
db._drop(cn2);
|
||||
db._drop(cn + "Renamed");
|
||||
},
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
@ -213,6 +214,7 @@ function ReplicationSuite() {
|
|||
|
||||
db._drop(cn);
|
||||
db._drop(cn2);
|
||||
db._drop(cn + "Renamed");
|
||||
},
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Reference in New Issue