potiuk opened a new issue, #58895:
URL: https://github.com/apache/airflow/issues/58895

   Yesterday for an hour some of the tests failed about midnight because of 
difference of months in UTC and local time. This test should be fixed as it 
might span over more hours in a time zone that is farther away from UTC.
   
   ```python
   FAILED 
airflow-core/tests/unit/models/test_dag.py::TestDag::test_next_dagrun_after_fake_scheduled_previous[False-None]
 - AssertionError: assert 11 == 12
    +  where 11 = datetime.datetime(2025, 11, 30, 23, 0, 
tzinfo=Timezone('UTC')).month
    +    where datetime.datetime(2025, 11, 30, 23, 0, tzinfo=Timezone('UTC')) = 
<DAG: test_schedule_dag_fake_scheduled_previous_False>.next_dagrun
    +  and   12 = datetime.datetime(2025, 12, 1, 0, 37, 9, 172186, 
tzinfo=Timezone('UTC')).month
   ```
   
   Example failure: 
https://github.com/apache/airflow/actions/runs/19807105397/job/56743302409#step:8:2245


-- 
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]

Reply via email to