Skip to content

Commit fa03a32

Browse files
committed
Skip test_scan_stale_dags_when_dag_folder_change in DB isolation mode (#41893) (#41895)
Since the similar test(test_scan_stale_dags_standalone_mode) are skipped in DB isolation mode (cherry picked from commit 07af14a)
1 parent 09ec261 commit fa03a32

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/dag_processing/test_job_runner.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -763,6 +763,7 @@ def test_scan_stale_dags_standalone_mode(self):
763763
active_dag_count = session.query(func.count(DagModel.dag_id)).filter(DagModel.is_active).scalar()
764764
assert active_dag_count == 1
765765

766+
@pytest.mark.skip_if_database_isolation_mode # Test is broken in db isolation mode
766767
def test_scan_stale_dags_when_dag_folder_change(self):
767768
"""
768769
Ensure dags from old dag_folder is marked as stale when dag processor

0 commit comments

Comments
 (0)