mirror of https://gitee.com/bigwinds/arangodb
fix broken dump_encrypted test
This commit is contained in:
parent
d43f4a1b1b
commit
35a96f1113
|
@ -376,6 +376,8 @@ function dumpTestEnterpriseSuite () {
|
|||
},
|
||||
|
||||
testShadowCollectionsOmitted : function () {
|
||||
const encryption = fs.read(fs.join(instanceInfo.rootDir, 'dump', 'ENCRYPTION'));
|
||||
if (encryption === '' || encryption === 'none') {
|
||||
const dumpDir = fs.join(instanceInfo.rootDir, 'dump');
|
||||
const collStructure = JSON.parse(
|
||||
fs.read(fs.join(dumpDir, `${edges}.structure.json`))
|
||||
|
@ -385,6 +387,7 @@ function dumpTestEnterpriseSuite () {
|
|||
const parameters = collStructure['parameters'];
|
||||
assertFalse(parameters.hasOwnProperty('shadowCollections'),
|
||||
`Property 'shadowCollections' should be hidden in collection ${edges}!`);
|
||||
}
|
||||
},
|
||||
|
||||
testVertices : function () {
|
||||
|
|
Loading…
Reference in New Issue