test(storage): use unique name for bucket insertion to avoid collisions
@@ -109,7 +109,8 @@ var methods = map[string][]retryFunc{
},
"storage.buckets.insert": {
func(ctx context.Context, c *Client, fs *resources, _ bool) error {
- return c.Bucket("bucket").Create(ctx, projectID, nil)
+ b := bucketIDs.New()
+ return c.Bucket(b).Create(ctx, projectID, nil)
},
},
"storage.buckets.list": {
