mirror of https://gitee.com/bigwinds/arangodb
Bug fix 3.5/cleanup view (#10589)
* cleanup after test * Update upgrade-data-views-msv3.2.1.js
This commit is contained in:
parent
54ed419d19
commit
ddf999ce4a
|
@ -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');
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue