Skip to content

Remove deferred task from system test#30226

Merged
o-nikolas merged 4 commits into
apache:mainfrom
aws-mwaa:syedahsn/fix-redshift-system-test-no-defer
Mar 24, 2023
Merged

Remove deferred task from system test#30226
o-nikolas merged 4 commits into
apache:mainfrom
aws-mwaa:syedahsn/fix-redshift-system-test-no-defer

Conversation

@syedahsn

Copy link
Copy Markdown
Contributor

System tests are not run with a Triggerer Process, which means that deferred tasks are not picked up. I also noticed that there was some missing code from the PR that added deferrable mode to RedshiftResumeClusterOperator, so I added that in. Please let me know if I missed anything.
@phanikumv, @kaxil


^ Add meaningful description above

Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

Comment thread tests/system/providers/amazon/aws/example_redshift.py Outdated
Comment thread airflow/providers/amazon/aws/triggers/redshift_cluster.py Outdated
@syedahsn syedahsn force-pushed the syedahsn/fix-redshift-system-test-no-defer branch from 4cd86a7 to 8161c7d Compare March 24, 2023 18:32
@o-nikolas o-nikolas merged commit b35ac9b into apache:main Mar 24, 2023
@vandonr-amz vandonr-amz deleted the syedahsn/fix-redshift-system-test-no-defer branch May 24, 2023 20:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants