-
Notifications
You must be signed in to change notification settings - Fork 420
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
fix: Fix warehouse read and resource monitor empty set #2319
Conversation
Integration tests failure for f177a73591421b7a0ac52a3860945c9b920e5a36 |
Integration tests failure for d008cceaed7ddfd65df6740ac34a0a073e678f03 |
@@ -256,11 +280,11 @@ func TestInt_ResourceMonitorAlter(t *testing.T) { | |||
alterOptions := &sdk.AlterResourceMonitorOptions{ | |||
Set: &sdk.ResourceMonitorSet{ | |||
CreditQuota: &creditQuota, | |||
NotifyUsers: &sdk.NotifyUsers{ | |||
Users: []sdk.NotifiedUser{{Name: "ARTUR_SAWICKI"}}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is it a good idea to have your name here? can we not have a test user?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have written a comment about it here: https://github.com/Snowflake-Labs/terraform-provider-snowflake/blob/main/pkg/resources/email_notification_integration_acceptance_test.go#L13. I have not yet created the issue for it, but for now there is nothing wrong with keeping it on my user for the time being (it is required to have an email in some other tests and our service user does not have an email). As you can see I did not add this user as a part of this change, I only moved it around because of the SDK implementation change.
Integration tests failure for d008cceaed7ddfd65df6740ac34a0a073e678f03 |
1 similar comment
Integration tests failure for d008cceaed7ddfd65df6740ac34a0a073e678f03 |
🤖 I have created a release *beep* *boop* --- ## [0.83.0](v0.82.0...v0.83.0) (2024-01-11) ### 🎉 **What's new:** * Add create streamlit privilege to the SDK ([#2303](#2303)) ([be01d5f](be01d5f)) * grant privileges to database role resource ([#2306](#2306)) ([0311cf8](0311cf8)) ### 🐛 **Bug fixes:** * Add secondary account and fix tests ([#2324](#2324)) ([da6ca73](da6ca73)) * external tables issues ([#2334](#2334)) ([ae41691](ae41691)) * Fix test because of the date ([#2312](#2312)) ([9a9ea33](9a9ea33)) * Fix warehouse read and resource monitor empty set ([#2319](#2319)) ([05f96c6](05f96c6)), closes [#2318](#2318) [#2316](#2316) * goreleaser for mfa token caching ([#2320](#2320)) ([4fef709](4fef709)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: snowflake-release-please[bot] <105954990+snowflake-release-please[bot]@users.noreply.github.com>
Fix warehouse read and resource monitor empty set:
ALTER
behavior for justNOTIFY_USERS
altered.Fix #2318
Fix #2316