Skip to content

Commit ca3314a

Browse files
Fix test_streamlit_deploy_prune_flag: add --overwrite flag for streamlit stage
Snowflake requires overwrite=true when uploading to streamlit versioned stages. The test was failing because stage copy needs --overwrite flag when uploading to snow://streamlit/ managed stages.
1 parent 17e19b9 commit ca3314a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests_integration/test_streamlit_old.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ def _assert_file_names_on_stage(expected_files: List[str]) -> None:
147147
"copy",
148148
str(unexpected_file),
149149
versioned_stage_path,
150+
"--overwrite",
150151
]
151152
)
152153
assert result.exit_code == 0, result.output

0 commit comments

Comments
 (0)