Skip to content

Commit d1e270f

Browse files
committed
Minor test updates
1 parent 9682097 commit d1e270f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/lobBindAsStringBuffer.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@ describe('74.lobBindAsStringBuffer.js', function() {
478478
executeSQL(proc_drop, done);
479479
}); // after
480480

481-
it('74.1.1 PLSQL, BIND_IN with String length 32768', function(done) {
481+
it('74.1.1 PLSQL, BIND_IN with String length 32K', function(done) {
482482
// Driver already supports CLOB AS STRING and BLOB AS BUFFER for PLSQL BIND if the data size less than or equal to 32767.
483483
// As part of this enhancement, driver allows even if data size more than 32767 for both column types
484484
var len = 32768;
@@ -508,7 +508,7 @@ describe('74.lobBindAsStringBuffer.js', function() {
508508
], done);
509509
}); // 74.1.1
510510

511-
it('74.1.2 PLSQL, BIND_IN with String length 65535', function(done) {
511+
it('74.1.2 PLSQL, BIND_IN with String length 64K - 1', function(done) {
512512
// The upper limit on the number of bytes of data that can be bound as
513513
// `STRING` or `BUFFER` when node-oracledb is linked with Oracle Client
514514
// 11.2 libraries is 64 Kb. With Oracle Client 12, the limit is 2 Gb
@@ -1017,7 +1017,7 @@ describe('74.lobBindAsStringBuffer.js', function() {
10171017
var sequence = 20;
10181018
var bindVar = {
10191019
i: { val: sequence, type: oracledb.NUMBER, dir: oracledb.BIND_IN },
1020-
c: { type: oracledb.STRING, dir: oracledb.BIND_OUT, maxSize: 32768 }
1020+
c: { type: oracledb.STRING, dir: oracledb.BIND_OUT, maxSize: 65535 }
10211021
};
10221022

10231023
async.series([

0 commit comments

Comments
 (0)