diff --git a/src/test/java/net/snowflake/client/jdbc/ConnectionIT.java b/src/test/java/net/snowflake/client/jdbc/ConnectionIT.java
index <HASH>..<HASH> 100644
--- a/src/test/java/net/snowflake/client/jdbc/ConnectionIT.java
+++ b/src/test/java/net/snowflake/client/jdbc/ConnectionIT.java
@@ -166,14 +166,15 @@ public class ConnectionIT extends BaseJDBCTest {
   @Test
   public void testDataCompletenessInLowMemory() throws Exception {
     try (Connection connection = getConnection()) {
-      for (int i = 0; i < 10; i++) {
+      for (int i = 0; i < 6; i++) {
         int resultSize = 1000000 + i;
         Statement statement = connection.createStatement();
         statement.execute("ALTER SESSION SET CLIENT_MEMORY_LIMIT=10");
         ResultSet resultSet =
             statement.executeQuery(
-                "SELECT * FROM \"SNOWFLAKE_SAMPLE_DATA\".\"TPCDS_SF100TCL\".\"CUSTOMER_ADDRESS\" limit "
-                    + resultSize);
+                "select randstr(80, random()) from table(generator(rowcount => "
+                    + resultSize
+                    + "))");
 
         int size = 0;
         while (resultSet.next()) {
Fix testDataCompletenessInLowMemory  test on jenkins (#<I>)