mirror of
https://github.com/letic/terraform-provider-google.git
synced 2024-07-03 08:42:39 +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{
|
||||
Config: testAccStorageBucket_customAttributes("idontexist"),
|
||||
Config: testAccStorageBucket_customAttributes(acctest.RandomWithPrefix("tf-test-acl-bucket")),
|
||||
Check: resource.ComposeTestCheckFunc(
|
||||
testAccCheckStorageBucketMissing(bucketName),
|
||||
),
|
||||
|
|
Loading…
Reference in New Issue
Block a user