We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 25dce8d commit dff80b9Copy full SHA for dff80b9
test/pool.js
@@ -912,7 +912,7 @@ describe('2. pool.js', function() {
912
});
913
914
describe('2.9 connection request queue (_enableStats & _logStats functionality)', function(){
915
- it('2.9.1 works after the pool as been terminated', function(done) {
+ it('2.9.1 does not works after the pool has been terminated', function(done) {
916
oracledb.createPool(
917
{
918
externalAuth : dbConfig.externalAuth,
@@ -944,7 +944,8 @@ describe('2. pool.js', function() {
944
try {
945
pool._logStats();
946
} catch (err) {
947
- should.not.exist(err);
+ should.exist(err);
948
+ (err.message).should.startWith("NJS-002:"); // NJS-002: invalid pool
949
}
950
951
done();
0 commit comments