Shlomit-B commented on code in PR #52769:
URL: https://github.com/apache/airflow/pull/52769#discussion_r2197352276


##########
providers/amazon/tests/system/amazon/aws/example_ssm.py:
##########
@@ -143,6 +184,8 @@ def wait_until_ssm_ready(instance_id: str, max_attempts: 
int = 10, delay_seconds
         min_count=1,
         config=config,
         wait_for_completion=True,
+        retries=5,
+        retry_delay=datetime.timedelta(seconds=15),

Review Comment:
   Right after creating a new instance profile, creating an EC2 instance with 
that profile sometimes fails with an error stating that the profile doesn't 
exist. To workaround this I'm using the retry mechanism (which means that the 
test logs might sometimes contain errors even though it succeeds).



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to