You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "tosheer (via GitHub)" <gi...@apache.org> on 2024/06/11 10:26:49 UTC

Re: [PR] Fixed issue of new dag getting old dataset events. [airflow]

tosheer commented on code in PR #39603:
URL: https://github.com/apache/airflow/pull/39603#discussion_r1634604595


##########
tests/jobs/test_scheduler_job.py:
##########
@@ -3793,6 +3793,10 @@ def test_create_dag_runs_datasets(self, session, dag_maker):
         dataset1 = Dataset(uri="ds1")
         dataset2 = Dataset(uri="ds2")
 
+        with dag_maker(dag_id="datasets-consumer-single", schedule=[dataset1]):

Review Comment:
   @RNHTTR The DAG needs to be created first before the event can arrive for the DAG to see all the events.



-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org