File tree Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ describe('224. booleanBind.js', function() {
3939
4040 const pkgName = 'NODB_PKG_TEST_BOOLEANS' ;
4141 before ( async function ( ) {
42- isRunnable = await testsUtil . checkPrerequisites ( 1200000000 , 1200000000 ) ;
42+ isRunnable = await testsUtil . checkPrerequisites ( 1200000000 , 1202000000 ) ;
4343 if ( ! isRunnable ) {
4444 this . skip ( ) ;
4545 }
Original file line number Diff line number Diff line change @@ -71,14 +71,19 @@ describe('254. jsonBind2.js', function() {
7171 END;
7272 EXECUTE IMMEDIATE ('
7373 CREATE TABLE ` + tableName + ` (
74- obj_data BLOB CHECK (obj_data IS JSON))
74+ obj_data BLOB CHECK (obj_data IS JSON)) LOB (obj_data) STORE AS (CACHE)
7575 ');
7676 END;` ;
7777
7878 let result , j ;
79+ let skip = false ;
7980
8081 before ( async function ( ) {
8182 try {
83+ if ( conn . oracleServerVersion < 1202000000 ) {
84+ skip = true ;
85+ this . skip ( ) ;
86+ }
8287 await conn . execute ( create_table_sql ) ;
8388 } catch ( err ) {
8489 should . not . exist ( err ) ;
@@ -87,7 +92,9 @@ describe('254. jsonBind2.js', function() {
8792
8893 after ( async function ( ) {
8994 try {
90- await conn . execute ( "DROP TABLE " + tableName + " PURGE" ) ;
95+ if ( ! skip ) {
96+ await conn . execute ( "DROP TABLE " + tableName + " PURGE" ) ;
97+ }
9198 } catch ( err ) {
9299 should . not . exist ( err ) ;
93100 }
@@ -207,9 +214,6 @@ describe('254. jsonBind2.js', function() {
207214 } ) ;
208215
209216 it ( '254.1.6 Using dot-notation to extract a value from a BLOB column' , async function ( ) {
210- if ( conn . oracleServerVersion < 1202000000 ) {
211- this . skip ( ) ;
212- }
213217 try {
214218 const data = { "empId" : 1 , "empName" : "Employee1" , "city" : "New City" } ;
215219 const sql = `INSERT into ` + tableName + ` VALUES (:bv)` ;
You can’t perform that action at this time.
0 commit comments