Fix a test potential async issue
This commit is contained in:
parent
2babbabce4
commit
319e73d108
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue