You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by on...@apache.org on 2023/02/14 17:48:56 UTC
[airflow] branch main updated: Wait EC2 instance to be in ok status before starting (#29539)
This is an automated email from the ASF dual-hosted git repository.
onikolas 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 670c9b512c Wait EC2 instance to be in ok status before starting (#29539)
670c9b512c is described below
commit 670c9b512c7278371c0a627a15d4b482906e69e2
Author: Vincent <97...@users.noreply.github.com>
AuthorDate: Tue Feb 14 12:48:34 2023 -0500
Wait EC2 instance to be in ok status before starting (#29539)
---
tests/system/providers/amazon/aws/example_ec2.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/system/providers/amazon/aws/example_ec2.py b/tests/system/providers/amazon/aws/example_ec2.py
index e8b7955d1c..36bddc5548 100644
--- a/tests/system/providers/amazon/aws/example_ec2.py
+++ b/tests/system/providers/amazon/aws/example_ec2.py
@@ -80,7 +80,7 @@ def create_instance(instance_name: str, key_pair_id: str):
)["Instances"][0]["InstanceId"]
# Wait for it to exist
- waiter = client.get_waiter("instance_exists")
+ waiter = client.get_waiter("instance_status_ok")
waiter.wait(InstanceIds=[instance_id])
return instance_id