Fix a test issue

This commit is contained in:
Christopher Jones 2019-11-05 11:24:10 +11:00
parent a13a53ad1a
commit 6d404d4483
1 changed files with 2 additions and 3 deletions

View File

@ -33,13 +33,13 @@ const assert = require('assert');
const dbconfig = require('./dbconfig.js');
const testsUtil = require('./testsUtil.js');
describe('222. callTimeout.js', () => {
describe('222. callTimeout.js', function() {
let isRunnable = true;
let conn;
before(async function() {
const isRunnable = await testsUtil.checkPrerequisites();
isRunnable = await testsUtil.checkPrerequisites();
if (!isRunnable) {
this.skip();
return;
@ -50,7 +50,6 @@ describe('222. callTimeout.js', () => {
after(async function() {
if (!isRunnable) {
this.skip();
return;
} else {
await conn.close();