ephraimbuddy commented on a change in pull request #16401:
URL: https://github.com/apache/airflow/pull/16401#discussion_r660080113
##########
File path: tests/models/test_cleartasks.py
##########
@@ -68,6 +70,41 @@ def test_clear_task_instances(self):
assert ti1.try_number == 2
assert ti1.max_tries == 3
+ @parameterized.expand([(State.QUEUED, None), (State.RUNNING,
DEFAULT_DATE)])
+ def test_clear_task_instances_dr_state(self, state, last_scheduling):
+ """Test that DR state is set to None after clear.
+ And that DR.last_scheduling_decision is handled OK.
+ start
Review comment:
```suggestion
start_date is also set to None
```
--
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]