Skip to content

Commit 7177536

Browse files
SNOW-1926861: Run lob tests with 128 MB limit
1 parent 6343319 commit 7177536

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

test/integration/testMaxLobSize.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ function generateRandomString(sizeInBytes) {
1616
return buffer.toString('hex').slice(0, sizeInBytes);
1717
}
1818

19-
if (process.env.RUN_MANUAL_TESTS_ONLY === 'true'){
20-
describe.only('Max LOB test', function () {
19+
describe('Max LOB test', function () {
2120
let connection;
2221
// This size cannot be tested on our env. The snowflake team should test internally.
2322
const MAX_LOB_SIZE = 128 * 1024 * 1024;
@@ -27,7 +26,7 @@ if (process.env.RUN_MANUAL_TESTS_ONLY === 'true'){
2726
const SMALL_SIZE = 16;
2827

2928
const tableName = 'my_lob_test';
30-
const createTable = `create or replace table ${tableName} (c1 varchar, c2 varchar, c3 int)`;
29+
const createTable = `create or replace table ${tableName} (c1 varchar(134217728), c2 varchar(134217728), c3 int)`;
3130
const allowLobExternalScan = 'alter session set ALLOW_LARGE_LOBS_IN_EXTERNAL_SCAN = true';
3231
const stageName = `@${DATABASE_NAME}.${SCHEMA_NAME}.%${tableName}`;
3332
const copyIntoTable = `copy into ${tableName}`;
@@ -341,5 +340,4 @@ if (process.env.RUN_MANUAL_TESTS_ONLY === 'true'){
341340
});
342341
});
343342
});
344-
}
345343

0 commit comments

Comments
 (0)