Skip to content

Commit fe032f8

Browse files
SNOW-1926861: Run lob tests with 128 MB limit
1 parent 17db71f commit fe032f8

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

bindings_test.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ const (
5454
)
5555

5656
var (
57-
// maxLOBSize = 128 * 1024 * 1024 // new max LOB size
58-
maxLOBSize = 16 * 1024 * 1024 // current max LOB size
57+
maxLOBSize = 128 * 1024 * 1024 // new max LOB size
58+
// maxLOBSize = 16 * 1024 * 1024 // current max LOB size
5959
largeSize = maxLOBSize / 2
6060
mediumSize = largeSize / 2
6161
)
@@ -1405,7 +1405,7 @@ func testLOBRetrieval(t *testing.T, useArrowFormat bool) {
14051405
}
14061406

14071407
func TestMaxLobSize(t *testing.T) {
1408-
skipMaxLobSizeTestOnGithubActions(t)
1408+
// skipMaxLobSizeTestOnGithubActions(t)
14091409
runDBTest(t, func(dbt *DBTest) {
14101410
dbt.mustExec(enableFeatureMaxLOBSize)
14111411
defer dbt.mustExec(unsetLargeVarcharAndBinary)

put_get_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -805,7 +805,7 @@ func TestPutGetMaxLOBSize(t *testing.T) {
805805
err = os.WriteFile(fname, b.Bytes(), readWriteFileMode)
806806
assertNilF(t, err, "could not write to gzip file")
807807

808-
dbt.mustExec(fmt.Sprintf("create or replace table %s (c1 varchar, c2 varchar(%v), c3 int)", tableName, tc))
808+
dbt.mustExec(fmt.Sprintf("create or replace table %s (c1 varchar(%v), c2 varchar(%v), c3 int)", tableName, tc, tc))
809809
defer dbt.mustExec("drop table " + tableName)
810810
fileStream, err := os.Open(fname)
811811
assertNilF(t, err)

0 commit comments

Comments
 (0)