This is an automated email from the ASF dual-hosted git repository.
potiuk 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 ccf1f7f03f Fix Kinesis Analytics test (#41489)
ccf1f7f03f is described below
commit ccf1f7f03f0b7f58fa46705031c094be8c9a6ce2
Author: D. Ferruzzi <[email protected]>
AuthorDate: Thu Aug 15 05:47:48 2024 -0700
Fix Kinesis Analytics test (#41489)
With the default `force=False` the test fails on our CI because the data
retention policy is blocking the deletion.
---
tests/system/providers/amazon/aws/example_kinesis_analytics.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/system/providers/amazon/aws/example_kinesis_analytics.py
b/tests/system/providers/amazon/aws/example_kinesis_analytics.py
index 0d93f1e336..007a354074 100644
--- a/tests/system/providers/amazon/aws/example_kinesis_analytics.py
+++ b/tests/system/providers/amazon/aws/example_kinesis_analytics.py
@@ -120,6 +120,8 @@ def kinesis_analytics_v2_workflow():
)
# [END howto_operator_stop_application]
stop_application.wait_for_completion = False
+ # With the default `force=False` the test fails because the data
retention policy is blocking the deletion.
+ stop_application.force = True
# [START howto_sensor_stop_application]
await_stop_application = KinesisAnalyticsV2StopApplicationCompletedSensor(