Skip to content

Commit

Permalink
SNOW-1926861: Run lob tests with 128 MB limit
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-dprzybysz committed Feb 21, 2025
1 parent dcb60b2 commit b3a6041
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/test/java/net/snowflake/client/jdbc/LobSizeLatestIT.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public class LobSizeLatestIT extends BaseJDBCTest {
private static final Map<Integer, String> LobSizeStringValues = new HashMap<>();

// Max LOB size is testable from version 3.15.0 and above.
private static int maxLobSize = 16 * 1024 * 1024; // default value
private static int maxLobSize = 128 * 1024 * 1024; // default value
private static int largeLobSize = maxLobSize / 2;
private static int mediumLobSize = largeLobSize / 2;
private static int smallLobSize = 16;
Expand Down Expand Up @@ -103,7 +103,9 @@ private void createTable(int lobSize, Statement stmt) throws SQLException {
String createTableQuery =
"create or replace table "
+ tableName
+ " (c1 varchar, c2 varchar("
+ " (c1 varchar("
+ lobSize
+ "), c2 varchar("
+ lobSize
+ "), c3 varchar)";
stmt.execute(createTableQuery);
Expand Down

0 comments on commit b3a6041

Please sign in to comment.