You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/08/22 14:43:40 UTC

[GitHub] [airflow] vincbeck commented on a diff in pull request #25839: Fix RDS system test

vincbeck commented on code in PR #25839:
URL: https://github.com/apache/airflow/pull/25839#discussion_r951529093


##########
airflow/providers/amazon/aws/operators/rds.py:
##########
@@ -278,7 +278,7 @@ def execute(self, context: 'Context') -> str:
             self._await_status(
                 item_type,
                 self.target_db_snapshot_identifier,
-                wait_statuses=['copying'],
+                wait_statuses=['creating', 'copying'],
                 ok_statuses=['available'],

Review Comment:
   We want to fail fast in case of error status. If the status is `error` or any terminal state which reflect an error, why waiting?



-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org