Tighten test cases and examples
This commit is contained in:
parent
5848805638
commit
0fac480841
|
@ -64,7 +64,7 @@ async function run() {
|
||||||
try {
|
try {
|
||||||
conn = await oracledb.getConnection(dbConfig);
|
conn = await oracledb.getConnection(dbConfig);
|
||||||
|
|
||||||
const sqlTypeCreate = `CREATE TYPE ${TYPE1} FORCE AS OBJECT (
|
const sqlTypeCreate = `CREATE TYPE ${TYPE1} FORCE AS OBJECT (
|
||||||
XMLDATA sys.xmltype)`;
|
XMLDATA sys.xmltype)`;
|
||||||
await conn.execute(sqlTypeCreate);
|
await conn.execute(sqlTypeCreate);
|
||||||
|
|
||||||
|
|
|
@ -47,7 +47,7 @@ describe('286. listIndexes.js', function() {
|
||||||
// or version 21.3 (or higher) is needed
|
// or version 21.3 (or higher) is needed
|
||||||
runnable = runnable && (testsUtil.getClientVersion >= 1913000000 ||
|
runnable = runnable && (testsUtil.getClientVersion >= 1913000000 ||
|
||||||
(testsUtil.getClientVersion >= 2100000000 && testsUtil.getClientVersion >= 2103000000));
|
(testsUtil.getClientVersion >= 2100000000 && testsUtil.getClientVersion >= 2103000000));
|
||||||
if (!oracledb.thin) {
|
if (!oracledb.thin && testsUtil.getClientVersion >= 1803000000) {
|
||||||
await sodaUtil.cleanup();
|
await sodaUtil.cleanup();
|
||||||
}
|
}
|
||||||
if (!runnable) {
|
if (!runnable) {
|
||||||
|
|
Loading…
Reference in New Issue