Skip to content

Commit

Permalink
Deleted TestAccLoggingBucketConfigProject_locked test case, due to be…
Browse files Browse the repository at this point in the history
…havioral change of log buckets in project level. (GoogleCloudPlatform#9373)

Will add a comment linking the issue in a follow-up PR
  • Loading branch information
pengq-google authored and jialei-chen committed Nov 29, 2023
1 parent bcde2d3 commit 3ca5e8e
Showing 1 changed file with 0 additions and 36 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -123,42 +123,6 @@ func TestAccLoggingBucketConfigProject_analyticsEnabled(t *testing.T) {
})
}

func TestAccLoggingBucketConfigProject_locked(t *testing.T) {
t.Parallel()

context := map[string]interface{}{
"random_suffix": acctest.RandString(t, 10),
"project_name": "tf-test-" + acctest.RandString(t, 10),
"org_id": envvar.GetTestOrgFromEnv(t),
"billing_account": envvar.GetTestBillingAccountFromEnv(t),
}

acctest.VcrTest(t, resource.TestCase{
PreCheck: func() { acctest.AccTestPreCheck(t) },
ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories(t),
Steps: []resource.TestStep{
{
Config: testAccLoggingBucketConfigProject_locked(context, false),
},
{
ResourceName: "google_logging_project_bucket_config.variable_locked",
ImportState: true,
ImportStateVerify: true,
ImportStateVerifyIgnore: []string{"project"},
},
{
Config: testAccLoggingBucketConfigProject_locked(context, true),
},
{
ResourceName: "google_logging_project_bucket_config.variable_locked",
ImportState: true,
ImportStateVerify: true,
ImportStateVerifyIgnore: []string{"project"},
},
},
})
}

func TestAccLoggingBucketConfigProject_cmekSettings(t *testing.T) {
t.Parallel()

Expand Down

0 comments on commit 3ca5e8e

Please sign in to comment.