This is an automated email from the ASF dual-hosted git repository.

ferruzzi pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new abdd0454ec Increase timeout in `example_ec2` system test when 
hibernating an instance (#36114)
abdd0454ec is described below

commit abdd0454ec1be9ce6eb04e67375e5894963fac31
Author: Vincent <97131062+vincb...@users.noreply.github.com>
AuthorDate: Thu Dec 7 17:19:30 2023 -0500

    Increase timeout in `example_ec2` system test when hibernating an instance 
(#36114)
---
 tests/system/providers/amazon/aws/example_ec2.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/system/providers/amazon/aws/example_ec2.py 
b/tests/system/providers/amazon/aws/example_ec2.py
index 11320f1047..10b9c62338 100644
--- a/tests/system/providers/amazon/aws/example_ec2.py
+++ b/tests/system/providers/amazon/aws/example_ec2.py
@@ -172,7 +172,8 @@ with DAG(
     )
     # [END howto_operator_ec2_hibernate_instance]
     hibernate_instance.wait_for_completion = True
-    hibernate_instance.max_attempts = 75
+    hibernate_instance.poll_interval = 60
+    hibernate_instance.max_attempts = 40
 
     # [START howto_operator_ec2_terminate_instance]
     terminate_instance = EC2TerminateInstanceOperator(

Reply via email to