ashb commented on code in PR #49554:
URL: https://github.com/apache/airflow/pull/49554#discussion_r2054159972
##########
providers/standard/tests/unit/standard/operators/test_latest_only_operator.py:
##########
@@ -115,9 +115,7 @@ def test_skipping_non_latest(self, dag_maker):
start_date=timezone.utcnow(),
logical_date=timezone.datetime(2016, 1, 1, 12),
state=State.RUNNING,
- data_interval=DataInterval(
- timezone.datetime(2016, 1, 1, 12), timezone.datetime(2016, 1,
1, 12) + INTERVAL
- ),
+ data_interval=DataInterval(timezone.datetime(2016, 1, 1, 12),
timezone.datetime(2016, 1, 1, 12)),
Review Comment:
This is the crux of the test change -- interval start = interval end, which
is what you get by default when you create the scheduler creates DagRuns from a
DAG with a `timedelta` schedule.
--
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]