1
0
Fork 0

cleanup after test (#10588)

* cleanup after test

* Update upgrade-data-views-msv3.2.1.js
This commit is contained in:
Wilfried Goesgens 2019-11-29 14:15:49 +01:00 committed by KVS85
parent c122123599
commit d30e873945
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');
}
}
};
}