[s3_bucket] Increase timeout on versioning check, as it seems to take longer to propagate than other properties (#39325)

pull/39335/head
Ryan Brown 7 years ago committed by Sloane Hertel
parent ee02d0c120
commit 4dfef45449

@ -375,7 +375,7 @@ def wait_payer_is_applied(module, s3_client, bucket_name, expected_payer, should
def wait_versioning_is_applied(module, s3_client, bucket_name, required_versioning): def wait_versioning_is_applied(module, s3_client, bucket_name, required_versioning):
for dummy in range(0, 12): for dummy in range(0, 24):
try: try:
versioning_status = get_bucket_versioning(s3_client, bucket_name) versioning_status = get_bucket_versioning(s3_client, bucket_name)
except (BotoCoreError, ClientError) as e: except (BotoCoreError, ClientError) as e:

Loading…
Cancel
Save