o-nikolas commented on code in PR #24239:
URL: https://github.com/apache/airflow/pull/24239#discussion_r890358686
##########
tests/system/providers/amazon/aws/redshift/example_redshift_cluster.py:
##########
@@ -28,7 +28,11 @@
RedshiftResumeClusterOperator,
)
from airflow.providers.amazon.aws.sensors.redshift_cluster import
RedshiftClusterSensor
+from airflow.utils.trigger_rule import TriggerRule
+from tests.system.providers.amazon.aws.utils import set_env_id
+ENV_ID = set_env_id()
+DAG_ID = 'example_redshift_cluster'
REDSHIFT_CLUSTER_IDENTIFIER = getenv("REDSHIFT_CLUSTER_IDENTIFIER",
"redshift-cluster-1")
with DAG(
Review Comment:
Did you try running this test dag? At the moment tests with Sensors do not
run successfully (I'm working on a fix) so I'd be surprised if this test passed?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]