@@ -303,7 +303,11 @@ describe('237. indexedTables01.js', () => {
303
303
} ) ; // 237.7
304
304
305
305
it ( '237.8 DB_TYPE_TIMESTAMP' , async function ( ) {
306
- if ( conn . oracleServerVersion < 1200000000 ) this . skip ( ) ;
306
+ /* Oracle Database versions 12.1.0.1 and
307
+ earlier do not support this test case due to a bug
308
+ which was later fixed in 12.1.0.2
309
+ */
310
+ if ( conn . oracleServerVersion < 1201000200 ) this . skip ( ) ;
307
311
const arr = [ new Date ( ) , new Date ( ) , new Date ( ) ] ;
308
312
const func = 'test_timestamp' ;
309
313
const binds = {
@@ -317,7 +321,11 @@ describe('237. indexedTables01.js', () => {
317
321
} ) ; // 237.8
318
322
319
323
it ( '237.9 DB_TYPE_TIMESTAMP_LTZ' , async function ( ) {
320
- if ( conn . oracleServerVersion < 1200000000 ) this . skip ( ) ;
324
+ /* Oracle Database versions 12.1.0.1 and
325
+ earlier do not support this test case due to a bug
326
+ which was later fixed in 12.1.0.2
327
+ */
328
+ if ( conn . oracleServerVersion < 1201000200 ) this . skip ( ) ;
321
329
const arr = [ new Date ( ) , new Date ( ) , new Date ( ) , new Date ( ) ] ;
322
330
const func = 'test_timestamp_ltz' ;
323
331
const binds = {
@@ -331,7 +339,11 @@ describe('237. indexedTables01.js', () => {
331
339
} ) ; // 237.9
332
340
333
341
it ( '237.10 DB_TYPE_TIMESTAMP_TZ' , async function ( ) {
334
- if ( conn . oracleServerVersion < 1200000000 ) this . skip ( ) ;
342
+ /* Oracle Database versions 12.1.0.1 and
343
+ earlier do not support this test case due to a bug
344
+ which was later fixed in 12.1.0.2
345
+ */
346
+ if ( conn . oracleServerVersion < 1201000200 ) this . skip ( ) ;
335
347
const arr = [ new Date ( ) , new Date ( ) , new Date ( ) , new Date ( ) , new Date ( ) ] ;
336
348
const func = 'test_timestamp_tz' ;
337
349
const binds = {
@@ -344,7 +356,7 @@ describe('237. indexedTables01.js', () => {
344
356
assert . strictEqual ( result . outBinds . retval , arr . length ) ;
345
357
} ) ; // 237.10
346
358
347
- it ( '237.10 DB_TYPE_RAW' , async ( ) => {
359
+ it ( '237.11 DB_TYPE_RAW' , async ( ) => {
348
360
const arr = [ Buffer . from ( "Raw 1" ) , Buffer . from ( "Raw 2" ) ] ;
349
361
const func = 'test_raw' ;
350
362
const binds = {
@@ -355,5 +367,5 @@ describe('237. indexedTables01.js', () => {
355
367
const sql = `begin :retval := ${ pkgName } .${ func } (:inval); end;` ;
356
368
const result = await conn . execute ( sql , binds ) ;
357
369
assert . strictEqual ( result . outBinds . retval , arr . length ) ;
358
- } ) ; // 237.10
370
+ } ) ; // 237.11
359
371
} ) ;
0 commit comments