File tree Expand file tree Collapse file tree 2 files changed +2
-13
lines changed Expand file tree Collapse file tree 2 files changed +2
-13
lines changed Original file line number Diff line number Diff line change @@ -83,19 +83,6 @@ sodaUtil.grantPrivilege=async function(){
8383 let sql = `GRANT SODA_APP TO ${ dbconfig . user } ` ;
8484 await connAsDBA . execute ( sql ) ;
8585
86- try {
87- sql = `CREATE TABLESPACE tbs_nodesoda DATAFILE 'tbs_nodesoda.dbf' SIZE 300M EXTENT MANAGEMENT LOCAL SEGMENT SPACE MANAGEMENT AUTO` ;
88- await connAsDBA . execute ( sql ) ;
89- } catch ( err ) {
90- // console.log(err);
91- }
92-
93- sql = `ALTER USER ${ dbconfig . user } QUOTA UNLIMITED ON tbs_nodesoda container=current` ;
94- await connAsDBA . execute ( sql ) ;
95-
96- sql = `ALTER USER ${ dbconfig . user } default tablespace tbs_nodesoda container=current` ;
97- await connAsDBA . execute ( sql ) ;
98-
9986 } catch ( err ) {
10087 should . not . exist ( err ) ;
10188 }
Original file line number Diff line number Diff line change @@ -125,6 +125,8 @@ testsUtil.isSodaRunnable = async function() {
125125
126126 if ( ( serverVersion >= 2000000000 ) && ( clientVersion < 2000000000 ) ) return false ;
127127
128+ if ( ! dbconfig . test . DBA_PRIVILEGE ) return false ;
129+
128130 return true ;
129131} ;
130132
You can’t perform that action at this time.
0 commit comments