ashb commented on a change in pull request #14833:
URL: https://github.com/apache/airflow/pull/14833#discussion_r595109243
##########
File path: tests/api/common/experimental/test_mark_tasks.py
##########
@@ -68,22 +63,19 @@ def setUp(self):
)
for dr in drs:
dr.dag = self.dag1
- dr.verify_integrity()
drs = _create_dagruns(
self.dag2, [self.dag2.start_date], state=State.RUNNING,
run_type=DagRunType.SCHEDULED
)
for dr in drs:
dr.dag = self.dag2
- dr.verify_integrity()
drs = _create_dagruns(
self.dag3, self.dag3_execution_dates, state=State.SUCCESS,
run_type=DagRunType.MANUAL
)
for dr in drs:
dr.dag = self.dag3
- dr.verify_integrity()
Review comment:
Called when creating the dag run, we don't need to do again.
##########
File path: tests/api/common/experimental/test_mark_tasks.py
##########
@@ -568,8 +560,6 @@ def test_set_failed_dag_run_to_running(self):
middle_time = timezone.utcnow()
self._set_default_task_instance_states(dr)
- time.sleep(2)
Review comment:
Doesn't seem to have any effect.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]