[git actions] Fix oracle test

This commit is contained in:
Sergey Konovalov
2025-08-31 09:53:19 +03:00
parent 9f1eeeb5c8
commit e1ef6e03e6
2 changed files with 2 additions and 2 deletions

View File

@ -69,7 +69,7 @@ delete additionalOptions.thin;
delete additionalOptions.libDir;
const configuration = Object.assign({}, connectionConfiguration, additionalOptions);
const forceClosingCountdownMs = 2000;
const forceClosingCountdownMs = 2; // in SECONDS per node-oracledb API, not milliseconds.
let pool = null;
oracledb.fetchAsString = [oracledb.NCLOB, oracledb.CLOB];

View File

@ -215,7 +215,7 @@ afterAll(async () => {
await Promise.allSettled(deletionPool);
baseConnector.closePool?.();
});
}, 10000);//default timeout is 5000ms. increased to 10000ms to prevent timeout on Oracle DB
// Assumed that at least default DB was installed and configured.
describe('Base database connector', () => {