You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by fe...@apache.org on 2023/12/07 22:19:37 UTC
(airflow) branch main updated: Increase timeout in `example_ec2` system test when hibernating an instance (#36114)
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 <97...@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(