You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "amoghrajesh (via GitHub)" <gi...@apache.org> on 2026/06/09 08:42:44 UTC
Re: [PR] Add `task_store` table to `airflow db clean` mechanism [airflow]
amoghrajesh commented on code in PR #68218:
URL: https://github.com/apache/airflow/pull/68218#discussion_r3379150878
##########
airflow-core/tests/unit/utils/test_db_cleanup.py:
##########
@@ -878,6 +879,95 @@ def create_tis(base_date, num_tis, run_type=DagRunType.SCHEDULED):
session.commit()
+@pytest.mark.db_test
+class TestTaskStoreCleanup:
+ def test_expired_rows_deleted(self):
+ from datetime import timezone as dt_timezone
Review Comment:
Good catch, removing the aliased import and the no-op `.in_timezone()` calls now.
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org