Skip to content

Commit

Permalink
Skipping tests for db isolation because similar tests were skipped (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
bugraoz93 authored Aug 13, 2024
1 parent ea515e6 commit e94b508
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/sensors/test_external_task_sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -808,6 +808,7 @@ def test_catch_invalid_allowed_states(self):
dag=self.dag,
)

@pytest.mark.skip_if_database_isolation_mode # Test is broken in db isolation mode
def test_external_task_sensor_waits_for_task_check_existence(self):
op = ExternalTaskSensor(
task_id="test_external_task_sensor_check",
Expand All @@ -820,6 +821,7 @@ def test_external_task_sensor_waits_for_task_check_existence(self):
with pytest.raises(AirflowException):
op.run(start_date=DEFAULT_DATE, end_date=DEFAULT_DATE, ignore_ti_state=True)

@pytest.mark.skip_if_database_isolation_mode # Test is broken in db isolation mode
def test_external_task_sensor_waits_for_dag_check_existence(self):
op = ExternalTaskSensor(
task_id="test_external_task_sensor_check",
Expand Down

0 comments on commit e94b508

Please sign in to comment.