This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch v2-10-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/v2-10-test by this push:
new d78e6d6f0a9 Mark failing db isolation test in v2-10-test as skipped
(#45151)
d78e6d6f0a9 is described below
commit d78e6d6f0a982f577cbc46fb3d90aff18c436bc9
Author: Jarek Potiuk <[email protected]>
AuthorDate: Sun Dec 22 13:42:05 2024 +0100
Mark failing db isolation test in v2-10-test as skipped (#45151)
This test should be skipped for DB isolation mode.
---
tests/models/test_taskinstance.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/models/test_taskinstance.py
b/tests/models/test_taskinstance.py
index 107f618a00c..9b7b5d95712 100644
--- a/tests/models/test_taskinstance.py
+++ b/tests/models/test_taskinstance.py
@@ -523,6 +523,7 @@ class TestTaskInstance:
ti.run()
assert "on_failure_callback called" in caplog.text
+ @pytest.mark.skip_if_database_isolation_mode # Does not work in db
isolation mode
def test_task_sigterm_calls_with_traceback_in_logs(self, dag_maker,
caplog):
"""
Test that ensures that tasks print traceback to the logs when they
receive sigterm