mirror of
https://github.com/letic/terraform-provider-google.git
synced 2024-10-04 17:51:11 +00:00
Give bucket unique name in tests.
This will stop the test failure from the dangling resource.
This commit is contained in:
parent
7ea31892dd
commit
0183e26999
@ -308,7 +308,7 @@ func TestAccStorageBucket_forceDestroy(t *testing.T) {
|
|||||||
),
|
),
|
||||||
},
|
},
|
||||||
resource.TestStep{
|
resource.TestStep{
|
||||||
Config: testAccStorageBucket_customAttributes("idontexist"),
|
Config: testAccStorageBucket_customAttributes(acctest.RandomWithPrefix("tf-test-acl-bucket")),
|
||||||
Check: resource.ComposeTestCheckFunc(
|
Check: resource.ComposeTestCheckFunc(
|
||||||
testAccCheckStorageBucketMissing(bucketName),
|
testAccCheckStorageBucketMissing(bucketName),
|
||||||
),
|
),
|
||||||
|
Loading…
Reference in New Issue
Block a user