This is an automated email from the ASF dual-hosted git repository.
utkarsharma pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 07af14ae75 Skip test_scan_stale_dags_when_dag_folder_change in DB
isolation mode (#41893)
07af14ae75 is described below
commit 07af14ae75820a98b60ecffa2949ef7ad70bacab
Author: Utkarsh Sharma <[email protected]>
AuthorDate: Fri Aug 30 19:32:24 2024 +0530
Skip test_scan_stale_dags_when_dag_folder_change in DB isolation mode
(#41893)
Since the similar test(test_scan_stale_dags_standalone_mode) are skipped in
DB isolation mode
---
tests/dag_processing/test_job_runner.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/dag_processing/test_job_runner.py
b/tests/dag_processing/test_job_runner.py
index 4f79436d14..0e15a2d1f6 100644
--- a/tests/dag_processing/test_job_runner.py
+++ b/tests/dag_processing/test_job_runner.py
@@ -763,6 +763,7 @@ class TestDagProcessorJobRunner:
active_dag_count =
session.query(func.count(DagModel.dag_id)).filter(DagModel.is_active).scalar()
assert active_dag_count == 1
+ @pytest.mark.skip_if_database_isolation_mode # Test is broken in db
isolation mode
def test_scan_stale_dags_when_dag_folder_change(self):
"""
Ensure dags from old dag_folder is marked as stale when dag processor