Skip to content

Commit 8ba1488

Browse files
Use test_role instead of PUBLIC for grants integration tests
- test_role is specifically created for integration tests in CI environment - Avoids potential permission restrictions with PUBLIC role in CI - Follows standard integration test pattern from account setup
1 parent 068515f commit 8ba1488

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests_integration/test_streamlit.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ def test_streamlit_grants_flow(
142142
alter_snowflake_yml,
143143
):
144144
"""Test that streamlit grants are properly applied during deployment."""
145-
test_role = "PUBLIC" # Use existing role instead of creating new one
145+
test_role = "test_role" # Use integration test role
146146
entity_id = "app_1"
147147

148148
with project_directory("streamlit_v2"):
@@ -169,7 +169,7 @@ def test_streamlit_grants_experimental_flow(
169169
alter_snowflake_yml,
170170
):
171171
"""Test that streamlit grants are properly applied during experimental deployment."""
172-
test_role = "PUBLIC" # Use existing role instead of creating new one
172+
test_role = "test_role" # Use integration test role
173173
entity_id = "app_1"
174174

175175
with project_directory("streamlit_v2"):

0 commit comments

Comments
 (0)