Skip to content

Commit

Permalink
chore: skip acc managed account test (#2376)
Browse files Browse the repository at this point in the history
The acceptance tests for managed accounts have to be skipped for the
same reason as
#2370

Co-authored-by: Scott Winkler <scott.winkler@snowflake.com>
  • Loading branch information
sfc-gh-jcieslak and sfc-gh-swinkler committed Jan 22, 2024
1 parent a0e2f03 commit dbf645d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions Makefile
Expand Up @@ -3,6 +3,7 @@ export SKIP_NOTIFICATION_INTEGRATION_TESTS=true
export SKIP_SAML_INTEGRATION_TESTS=true
export SKIP_STREAM_TEST=true
export SKIP_MANAGED_ACCOUNT_INT_TEST=true
export SKIP_MANAGED_ACCOUNT_TEST=true
export BASE_BINARY_NAME=terraform-provider-snowflake
export TERRAFORM_PLUGINS_DIR=$(HOME)/.terraform.d/plugins
export TERRAFORM_PLUGIN_LOCAL_INSTALL=$(TERRAFORM_PLUGINS_DIR)/$(BASE_BINARY_NAME)
Expand Down
3 changes: 2 additions & 1 deletion pkg/resources/managed_account_acceptance_test.go
Expand Up @@ -16,8 +16,9 @@ const (
)

func TestAcc_ManagedAccount(t *testing.T) {
// TODO [SNOW-1011985]: unskip the tests
if _, ok := os.LookupEnv("SKIP_MANAGED_ACCOUNT_TEST"); ok {
t.Skip("Skipping TestAcc_ManagedAccount")
t.Skip("Skipping TestAcc_ManagedAccounts due to error: 090337 (23001): Number of managed accounts allowed exceeded the limit. Please contact Snowflake support.")
}

accName := strings.ToUpper(acctest.RandStringFromCharSet(10, acctest.CharSetAlpha))
Expand Down

0 comments on commit dbf645d

Please sign in to comment.