ashb commented on a change in pull request #4968: [AIRFLOW-XXX] Fix race
condition in CI test
URL: https://github.com/apache/airflow/pull/4968#discussion_r268535092
##########
File path: tests/test_jobs.py
##########
@@ -2553,7 +2553,7 @@ def test_dagrun_root_after_dagrun_unfinished(self):
ti_ids = [(ti.task_id, ti.state) for ti in
first_run.get_task_instances()]
self.assertEqual(ti_ids, [('current', State.SUCCESS)])
- self.assertEqual(first_run.state, State.SUCCESS)
+ self.assertIn(first_run.state, [State.SUCCESS, State.RUNNING])
Review comment:
Very similar to https://github.com/apache/airflow/pull/4737/files
----------------------------------------------------------------
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]
With regards,
Apache Git Services