diff --git a/pkg/resources/testdata/TestAcc_GrantDatabaseRole/share/test.tf b/pkg/resources/testdata/TestAcc_GrantDatabaseRole/share/test.tf index c29c3dc095..d41a70d654 100644 --- a/pkg/resources/testdata/TestAcc_GrantDatabaseRole/share/test.tf +++ b/pkg/resources/testdata/TestAcc_GrantDatabaseRole/share/test.tf @@ -32,4 +32,5 @@ resource "snowflake_grant_privileges_to_share" "test" { resource "snowflake_grant_database_role" "test" { database_role_name = "\"${snowflake_database.test.name}\".\"${snowflake_database_role.test.name}\"" share_name = snowflake_share.test.name + depends_on = [snowflake_grant_privileges_to_share.test] } diff --git a/pkg/sdk/testint/masking_policy_integration_test.go b/pkg/sdk/testint/masking_policy_integration_test.go index 4338f016a1..e5027ca58e 100644 --- a/pkg/sdk/testint/masking_policy_integration_test.go +++ b/pkg/sdk/testint/masking_policy_integration_test.go @@ -24,7 +24,7 @@ func TestInt_MaskingPoliciesShow(t *testing.T) { t.Run("without show options", func(t *testing.T) { maskingPolicies, err := client.MaskingPolicies.Show(ctx, nil) require.NoError(t, err) - assert.Equal(t, 2, len(maskingPolicies)) + assert.GreaterOrEqual(t, 2, len(maskingPolicies)) }) t.Run("with show options", func(t *testing.T) {