@@ -48,7 +48,8 @@ var inFileName = './test/clobexample.txt'; // the file with text to be inserted
48
48
var outFileName = './test/clobstreamout.txt' ;
49
49
50
50
describe ( '40. dataTypeClob.js' , function ( ) {
51
-
51
+
52
+ this . timeout ( 10000 ) ;
52
53
if ( dbConfig . externalAuth ) {
53
54
var credential = { externalAuth : true , connectString : dbConfig . connectString } ;
54
55
} else {
@@ -115,7 +116,7 @@ describe('40. dataTypeClob.js', function() {
115
116
setTimeout ( function ( ) {
116
117
streamEndEventFired . should . equal ( true , "inStream does not call 'end' event!" )
117
118
callback ( ) ;
118
- } , 500 ) ;
119
+ } , 2000 ) ;
119
120
120
121
connection . execute (
121
122
"INSERT INTO oracledb_myclobs (num, content) VALUES (:n, EMPTY_CLOB()) RETURNING content INTO :lobbv" ,
@@ -153,7 +154,7 @@ describe('40. dataTypeClob.js', function() {
153
154
setTimeout ( function ( ) {
154
155
streamFinishEventFired . should . equal ( true , "stream does not call 'Finish' Event!" ) ;
155
156
callback ( ) ;
156
- } , 500 ) ;
157
+ } , 2000 ) ;
157
158
158
159
connection . execute (
159
160
"SELECT content FROM oracledb_myclobs WHERE num = :n" ,
@@ -199,7 +200,7 @@ describe('40. dataTypeClob.js', function() {
199
200
lobDataEventFired . should . equal ( true , "lob does not call 'data' event!" ) ;
200
201
lobEndEventFired . should . equal ( true , "lob does not call 'end' event!" ) ;
201
202
callback ( ) ;
202
- } , 500 ) ;
203
+ } , 2000 ) ;
203
204
204
205
connection . execute (
205
206
"SELECT content FROM oracledb_myclobs WHERE num = :n" ,
@@ -238,4 +239,4 @@ describe('40. dataTypeClob.js', function() {
238
239
] , done ) ;
239
240
240
241
} )
241
- } )
242
+ } )
0 commit comments