Skip to content

Commit

Permalink
Lower the rowcount for the test
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-ext-simba-nl committed Dec 21, 2024
1 parent 75e6565 commit 9e457ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_async.c
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ void test_multiple_chunk() {

/* query */
SF_STMT* sfstmt = snowflake_stmt(sf);
status = snowflake_prepare(sfstmt, "select randstr(100,random()) from table(generator(rowcount=>10000))", 0);
status = snowflake_prepare(sfstmt, "select randstr(100,random()) from table(generator(rowcount=>2000))", 0);
assert_int_equal(status, SF_STATUS_SUCCESS);
status = snowflake_async_execute(sfstmt);
if (status != SF_STATUS_SUCCESS) {
Expand All @@ -251,7 +251,7 @@ void test_multiple_chunk() {
char* value = NULL;
size_t value_len = 0;
size_t max_value_size = 0;
assert_int_equal(snowflake_num_rows(sfstmt), 10000);
assert_int_equal(snowflake_num_rows(sfstmt), 2000);

while ((status = snowflake_fetch(sfstmt)) == SF_STATUS_SUCCESS) {
snowflake_column_as_str(sfstmt, 1, &value, &value_len, &max_value_size);
Expand Down

0 comments on commit 9e457ae

Please sign in to comment.