Skip to content

Commit d65316f

Browse files
authored
Increase the redshift cluster deletion to 25 minutes in system tests (#62413)
1 parent 25250c7 commit d65316f

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

providers/amazon/tests/system/amazon/aws/example_redshift.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,7 @@
220220
)
221221
# [END howto_operator_redshift_delete_cluster]
222222
delete_cluster.trigger_rule = TriggerRule.ALL_DONE
223+
delete_cluster.max_attempts = 50
223224

224225
# [START howto_operator_redshift_delete_cluster_snapshot]
225226
delete_cluster_snapshot = RedshiftDeleteClusterSnapshotOperator(

providers/amazon/tests/system/amazon/aws/example_redshift_s3_transfers.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,7 @@ def _insert_data(table_name: str) -> str:
271271
task_id="delete_cluster",
272272
cluster_identifier=redshift_cluster_identifier,
273273
trigger_rule=TriggerRule.ALL_DONE,
274+
max_attempts=50,
274275
)
275276

276277
delete_bucket = S3DeleteBucketOperator(

providers/amazon/tests/system/amazon/aws/example_s3_to_sql.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,7 @@ def parse_csv_to_generator(filepath):
249249
task_id="delete_cluster",
250250
cluster_identifier=redshift_cluster_identifier,
251251
trigger_rule=TriggerRule.ALL_DONE,
252+
max_attempts=50,
252253
)
253254

254255
chain(

providers/amazon/tests/system/amazon/aws/example_sql_to_s3.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,7 @@ def create_connection(conn_id_name: str, cluster_id: str):
198198
task_id="delete_cluster",
199199
cluster_identifier=redshift_cluster_identifier,
200200
trigger_rule=TriggerRule.ALL_DONE,
201+
max_attempts=50,
201202
)
202203

203204
chain(

0 commit comments

Comments
 (0)