From b218c8f9b185e1f576fcbf772f6bca94175e2c2b Mon Sep 17 00:00:00 2001 From: "D. Ferruzzi" Date: Thu, 15 Aug 2024 05:47:48 -0700 Subject: [PATCH] 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 0d93f1e3362e5..007a35407437d 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(