uranusjr commented on a change in pull request #16889:
URL: https://github.com/apache/airflow/pull/16889#discussion_r671593548
##########
File path: tests/conftest.py
##########
@@ -424,3 +429,54 @@ def app():
from airflow.www import app
return app.create_app(testing=True)
+
+
[email protected]()
+def clear_db():
+ def _clean_up():
+ db.clear_db_runs()
+ db.clear_db_dags()
+ db.clear_db_serialized_dags()
+ db.clear_db_jobs()
+ db.clear_db_task_fail()
+ db.clear_db_task_reschedule
Review comment:
```suggestion
db.clear_db_task_reschedule()
```
--
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]