mirror of
https://github.com/ONLYOFFICE/server.git
synced 2026-04-07 14:04:35 +08:00
[git actions] Fix oracle test
This commit is contained in:
@ -69,7 +69,7 @@ delete additionalOptions.thin;
|
|||||||
delete additionalOptions.libDir;
|
delete additionalOptions.libDir;
|
||||||
|
|
||||||
const configuration = Object.assign({}, connectionConfiguration, additionalOptions);
|
const configuration = Object.assign({}, connectionConfiguration, additionalOptions);
|
||||||
const forceClosingCountdownMs = 2000;
|
const forceClosingCountdownMs = 2; // in SECONDS per node-oracledb API, not milliseconds.
|
||||||
let pool = null;
|
let pool = null;
|
||||||
|
|
||||||
oracledb.fetchAsString = [oracledb.NCLOB, oracledb.CLOB];
|
oracledb.fetchAsString = [oracledb.NCLOB, oracledb.CLOB];
|
||||||
|
|||||||
@ -215,7 +215,7 @@ afterAll(async () => {
|
|||||||
|
|
||||||
await Promise.allSettled(deletionPool);
|
await Promise.allSettled(deletionPool);
|
||||||
baseConnector.closePool?.();
|
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.
|
// Assumed that at least default DB was installed and configured.
|
||||||
describe('Base database connector', () => {
|
describe('Base database connector', () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user