1
0
Fork 0

Bug fix 3.5/cleanup view (#10589)

* cleanup after test

* Update upgrade-data-views-msv3.2.1.js
This commit is contained in:
Wilfried Goesgens 2019-11-29 14:15:08 +01:00 committed by KVS85
parent 54ed419d19
commit ddf999ce4a
1 changed files with 22 additions and 17 deletions

View File

@ -47,7 +47,9 @@ function UpgradeData() {
const c = db._collection('LargeCollection');
assertEqual(c.count(), 10000);
const v = db._createView('TestView', 'arangosearch', {});
let v;
try {
v = db._createView('TestView', 'arangosearch', {});
const properties = {
links: {
'LargeCollection': {
@ -70,7 +72,10 @@ function UpgradeData() {
assertEqual(results[2].name, "Name 1116");
assertEqual(results[3].name, "Name 1117");
}
finally {
db._dropView('TestView');
}
}
};
}