From b648cc76d01829c92dc864fe8dab143082dd5e24 Mon Sep 17 00:00:00 2001 From: ferruzzi Date: Wed, 14 Aug 2024 14:56:44 -0700 Subject: [PATCH] Fix Kinesis Analytics test 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(