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