mik-laj commented on a change in pull request #18343:
URL: https://github.com/apache/airflow/pull/18343#discussion_r711648480



##########
File path: tests/models/test_taskinstance.py
##########
@@ -489,10 +490,14 @@ def test_task_retry_wipes_next_fields(self, session, 
dag_maker):
         assert ti.next_kwargs is None
         assert ti.state == State.UP_FOR_RETRY
 
-    def test_retry_delay(self, dag_maker):
+    @patch('airflow.utils.timezone.utcnow')

Review comment:
       What do you think about [freezegun](https://github.com/spulec/freezegun)?




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