Skip to content

Fix StopIteration in snowflake sql tests #52394

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 29, 2025

Conversation

gopidesupavan
Copy link
Member

@gopidesupavan gopidesupavan commented Jun 28, 2025

We observed the tests fails sometimes with StopIteration in #52072, just to be safe side we can increate side_effect cound and as we already have timeout 3 seconds so it should trigger TimeoutError

FAILED providers/snowflake/tests/unit/snowflake/hooks/test_snowflake_sql_api.py::TestSnowflakeSqlApiHook::test_wait_for_query_timeout_error - StopIteration
= 1 failed, 12987 passed, 3709 skipped, 1 xfailed, 5 warnings in 603.92s (0:10:03) =

^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in airflow-core/newsfragments.

@boring-cyborg boring-cyborg bot added area:providers provider:snowflake Issues related to Snowflake provider labels Jun 28, 2025
@gopidesupavan
Copy link
Member Author

cc: @kacpermuda

Copy link
Contributor

@kacpermuda kacpermuda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense this reduces the risk of this error, thanks !

@gopidesupavan gopidesupavan force-pushed the fix-stopiteration-error branch from f6f7ff4 to ab39d41 Compare June 28, 2025 19:43
@gopidesupavan gopidesupavan force-pushed the fix-stopiteration-error branch from ab39d41 to 878f0ea Compare June 29, 2025 08:41
@gopidesupavan gopidesupavan merged commit 5432c6e into apache:main Jun 29, 2025
68 checks passed
@gopidesupavan gopidesupavan deleted the fix-stopiteration-error branch June 29, 2025 18:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:providers provider:snowflake Issues related to Snowflake provider
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants