mirror of https://gitee.com/bigwinds/arangodb
jslint (#3167)
This commit is contained in:
parent
c662dfc863
commit
2f05b0ffeb
|
@ -489,7 +489,7 @@ function unitTest (cases, options) {
|
||||||
// running all tests
|
// running all tests
|
||||||
for (let n = 0; n < caselist.length; ++n) {
|
for (let n = 0; n < caselist.length; ++n) {
|
||||||
const currentTest = caselist[n];
|
const currentTest = caselist[n];
|
||||||
var localOptions = _.cloneDeep(options)
|
var localOptions = _.cloneDeep(options);
|
||||||
|
|
||||||
print(BLUE + '================================================================================');
|
print(BLUE + '================================================================================');
|
||||||
print('Executing test', currentTest);
|
print('Executing test', currentTest);
|
||||||
|
|
|
@ -34,6 +34,7 @@ const optionsDocumentation = [
|
||||||
const fs = require('fs');
|
const fs = require('fs');
|
||||||
const pu = require('@arangodb/process-utils');
|
const pu = require('@arangodb/process-utils');
|
||||||
const tu = require('@arangodb/test-utils');
|
const tu = require('@arangodb/test-utils');
|
||||||
|
const _ = require('lodash');
|
||||||
|
|
||||||
const toArgv = require('internal').toArgv;
|
const toArgv = require('internal').toArgv;
|
||||||
|
|
||||||
|
@ -47,7 +48,7 @@ const RESET = require('internal').COLORS.COLOR_RESET;
|
||||||
function runArangodRecovery (instanceInfo, options, script, setup, count) {
|
function runArangodRecovery (instanceInfo, options, script, setup, count) {
|
||||||
if (!instanceInfo.recoveryArgs) {
|
if (!instanceInfo.recoveryArgs) {
|
||||||
let tempDir = fs.getTempPath();
|
let tempDir = fs.getTempPath();
|
||||||
let td = fs.join(tempDir, `${count}`)
|
let td = fs.join(tempDir, `${count}`);
|
||||||
if (setup) {
|
if (setup) {
|
||||||
pu.cleanupDBDirectoriesAppend(td);
|
pu.cleanupDBDirectoriesAppend(td);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue