From e853ccbf078a012313ff95b4638c47771ace5b38 Mon Sep 17 00:00:00 2001 From: Alec Huang Date: Tue, 19 Nov 2024 22:33:58 -0800 Subject: [PATCH] Use role SYSADMIN for testing (#907) --- profile.json.gpg | Bin 1580 -> 1574 bytes profile_azure.json.gpg | Bin 1593 -> 1588 bytes profile_gcp.json.gpg | Bin 1594 -> 1592 bytes .../java/net/snowflake/ingest/TestUtils.java | 1 + 4 files changed, 1 insertion(+) diff --git a/profile.json.gpg b/profile.json.gpg index 12955621bd7fae34c150c08d7e7e5e48ff58cd2d..ffce40ab376a54afcc38ea7032be5b02cc5c5f49 100644 GIT binary patch literal 1574 zcmV+>2HE+H4Fm}T2ox6=oXHDE9{)xkbviS(O-FU; z)=GK6Azf>mT;&t|8uIY$=Qc6-Fd^Ssxdax_=Ny1$kcEZX4J%l8~ z6KJ2BbmquOu^jRP`vL5@IlA4Z>O^Fec%Ahg=>#3*5w!pd?Ue<&KMH)oucnCah$8Nd zu(SevViF?o?K%^zx*{nGnCe77DLu(XflzU+D%Cl`%<=K>0I<_Xy6ba0X6$I&7 zsvrh#BMYz+b3pT)`{FG*y!ru(*jWz%Z?VG<|1{Ue1tCygjD17te_KHy6z+c$CjpCR zl0}pXR#B+zw63QejJ~D_-+@0i(OZf@8>VxmO-v$<0`)GtA-%P*aeQ}Y#6s^nu- z<74FF_H@IG{-Wt=_4yar4oZyaI_!0@(!0jmfG`udJgjXTRX}ML(0f6Nk63Q}E(L#k z;gpxuJbK+uggj@2i5V#8>BSXUKI>mY_uLwGi$G;LdM5>0Je|I=E<+Tr>-I&51IX^R zlA?YTYI;t{BUXwO80RT1fqe~2We_*A_6P7Kto&OMl@{&45 zFD6w_AD5?c?|4$c{B+yM(`1lwxM=z?>S+V6h6a?AN4tcI zbJ=mAi-;@#SlgKnmZS}@=VP;D5a4*Ykh&8tKxl~C(V8WLix|^PBJ=4KPvryZ!Bri@ zcP2NqM~Cs3=@1o57M?nq@L4ghpB!Mg@whyZTuNL@^;E}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Ulte)l zjBxTZ@!!bBD^=P=d-((++o(Y&TmjUrL{JVY?oRlOp{Cxo{FvxkPdb6IkO5tt-G5!S sk|*3Rtr}laMms=KHn_L?LNG(pk1BH+f+BTKHhO39q^?}NG*_(>+g3Iko&W#< diff --git a/src/test/java/net/snowflake/ingest/TestUtils.java b/src/test/java/net/snowflake/ingest/TestUtils.java index 83ad3983b..2fc8d3f5d 100644 --- a/src/test/java/net/snowflake/ingest/TestUtils.java +++ b/src/test/java/net/snowflake/ingest/TestUtils.java @@ -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);