1
0
Fork 0

added agency collctions to list of exceptions

This commit is contained in:
Frank Celler 2018-12-05 13:49:49 +01:00
parent 1f248667c5
commit def7900f53
1 changed files with 2 additions and 1 deletions

View File

@ -242,7 +242,8 @@ function performTests (options, testList, testname, runFn, serverOptions, startS
continue;
}
let delta = diffArray(collectionsBefore, collectionsAfter).filter(function(name) {
return (name[0] !== '_'); // exclude system collections from the comparison
return ! ((name[0] === '_') || (name === "compact") || (name === "election")
|| (name === "log")); // exclude system/agency collections from the comparison
});
if (delta.length !== 0) {