Skip to content

Commit

Permalink
Use role SYSADMIN for testing (#907)
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-alhuang authored Nov 20, 2024
1 parent 075e918 commit e853ccb
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 0 deletions.
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);

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

0 comments on commit e853ccb

Please sign in to comment.