Skip to content

Commit

Permalink
Skip test_scan_stale_dags_when_dag_folder_change in DB isolation mode (
Browse files Browse the repository at this point in the history
…apache#41893)

Since the similar test(test_scan_stale_dags_standalone_mode) are skipped in DB isolation mode
  • Loading branch information
utkarsharma2 authored Aug 30, 2024
1 parent 35ce2f1 commit 07af14a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/dag_processing/test_job_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -763,6 +763,7 @@ def test_scan_stale_dags_standalone_mode(self):
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
Expand Down

0 comments on commit 07af14a

Please sign in to comment.