Skip to content
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

SNOW-1758877 Fix flaky test test_snowflake_cortex_summarize #2492

Merged
merged 2 commits into from
Oct 22, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/integ/test_function.py
Original file line number Diff line number Diff line change
Expand Up @@ -2291,6 +2291,6 @@ def test_snowflake_cortex_summarize(session):
0
][0]
summary_from_str = df.select(snowflake_cortex_summarize(content)).collect()[0][0]
assert summary_from_col == summary_from_str
# this length check is to get around the fact that this function may not be deterministic
assert 0 < len(summary_from_col) < len(content)
assert 0 < len(summary_from_str) < len(content)
Loading