Skip to content

Commit c26af10

Browse files
committed
Add retry for cloudformation outputs fetch during tests.
1 parent 0447024 commit c26af10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,7 @@ def path_generator(bucket):
529529
def extract_cloudformation_outputs():
530530
outputs = {}
531531
client = boto3.client("cloudformation")
532-
response = client.describe_stacks()
532+
response = try_it(client.describe_stacks, botocore.exceptions.ClientError, max_num_tries=5)
533533
for stack in response.get("Stacks"):
534534
if (stack["StackName"] in ["aws-data-wrangler-base", "aws-data-wrangler-databases"]) and (
535535
stack["StackStatus"] in CFN_VALID_STATUS

0 commit comments

Comments
 (0)