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

Use role SYSADMIN for testing #907

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
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
Binary file modified profile.json.gpg
Binary file not shown.
Binary file modified profile_azure.json.gpg
Binary file not shown.
Binary file modified profile_gcp.json.gpg
Binary file not shown.
1 change: 1 addition & 0 deletions src/test/java/net/snowflake/ingest/TestUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,7 @@ public static Connection getConnection(boolean isStreamingConnection) throws Exc
props.put("warehouse", warehouse);
props.put("client_session_keep_alive", "true");
props.put("privateKey", privateKey);
props.put("role", role);

Copy link
Collaborator

Choose a reason for hiding this comment

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

i'm guessing you've updated the role in the files to be SYSADMIN too..
Did that not require any special permissions in any environment, for instance to grant usage on EXT VOL to role SYSADMIN?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes I've grantde permission on those sfctest0 accounts.

if (isStreamingConnection) {
streamingConn = DriverManager.getConnection(connectString, props);
Expand Down
Loading