Fix a test potential async issue

This commit is contained in:
Christopher Jones 2018-08-22 13:24:44 +10:00
parent 2babbabce4
commit 319e73d108
1 changed files with 2 additions and 6 deletions

View File

@ -81,7 +81,7 @@ describe('54. lobClose.js', function() {
}); // 54.1
it.skip('54.2 can not call close() multiple times', function(done) {
it('54.2 can not call close() multiple times', function(done) {
conn.createLob(
oracledb.CLOB,
@ -92,7 +92,7 @@ describe('54. lobClose.js', function() {
should.not.exist(err);
lob.close(function(err) {
should.exist(err);
should.not.exist(err);
done();
});
}); // first close();
@ -180,10 +180,6 @@ describe('54. lobClose.js', function() {
);
cb();
});
lob2.on('finish', function() {
cb(new Error("LOB emits 'finish' event!"));
});
},
function(cb) {
(lob2.chunkSize).should.be.a.Number();