8000 Add sleep to avoid bucket rate limit (#2136) · nborwankar/python-docs-samples@3629532 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3629532

Browse files
authored
Add sleep to avoid bucket rate limit (GoogleCloudPlatform#2136)
1 parent fd3ab2f commit 3629532

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

storage/cloud-client/bucket_policy_only_test.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ def bucket():
2828
bucket_name = 'bucket-policy-only-' + str(int(time.time()))
2929
bucket = client.create_bucket(bucket_name)
3030
yield bucket
31+
time.sleep(3)
3132
bucket.delete(force=True)
3233

3334

0 commit comments

Comments
0 (0)
0