Merge pull request #575 from terraform-providers/paddy_unique_bucket_name

Give bucket unique name in tests.
This commit is contained in:
Paddy 2017-10-11 17:11:06 -07:00 committed by GitHub
commit 2b165962db

View File

@ -308,7 +308,7 @@ func TestAccStorageBucket_forceDestroy(t *testing.T) {
),
},
resource.TestStep{
Config: testAccStorageBucket_customAttributes("idontexist"),
Config: testAccStorageBucket_customAttributes(acctest.RandomWithPrefix("tf-test-acl-bucket")),
Check: resource.ComposeTestCheckFunc(
testAccCheckStorageBucketMissing(bucketName),
),