mirror of
https://github.com/ONLYOFFICE/server.git
synced 2026-02-10 18:05:07 +08:00
[git actions] Fix oracle test
This commit is contained in:
@ -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];
|
||||
|
||||
@ -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', () => {
|
||||
|
||||
Reference in New Issue
Block a user