From 639c88f52914f53f45fb2d2400c6300eed0b0479 Mon Sep 17 00:00:00 2001 From: Charles Engelke Date: Wed, 1 May 2019 10:33:01 -0700 Subject: [PATCH] Add sleep to avoid bucket rate limit --- storage/cloud-client/bucket_policy_only_test.py | 1 + 1 file changed, 1 insertion(+) diff --git a/storage/cloud-client/bucket_policy_only_test.py b/storage/cloud-client/bucket_policy_only_test.py index 64a9dad10b3..5ae433fa47f 100644 --- a/storage/cloud-client/bucket_policy_only_test.py +++ b/storage/cloud-client/bucket_policy_only_test.py @@ -28,6 +28,7 @@ def bucket(): bucket_name = 'bucket-policy-only-' + str(int(time.time())) bucket = client.create_bucket(bucket_name) yield bucket + time.sleep(3) bucket.delete(force=True)