jscheffl commented on code in PR #41317:
URL: https://github.com/apache/airflow/pull/41317#discussion_r1707774076
##########
tests/providers/cncf/kubernetes/operators/test_spark_kubernetes.py:
##########
@@ -570,7 +571,9 @@ def test_resolve_application_file_template_file(dag_maker,
tmp_path, session):
(tmp_path / filename).write_text("foo: {{ ds }}\nbar: {{ dag_run.dag_id
}}\nspam: egg")
with dag_maker(
- dag_id="test_resolve_application_file_template_file",
template_searchpath=tmp_path.as_posix()
+ dag_id="test_resolve_application_file_template_file",
+ template_searchpath=tmp_path.as_posix(),
+ session=session,
Review Comment:
In all other cases we fixes tests for database isolation we used
`serialized=True` as parameter for dag_maker to ensure changes are persisted to
DB.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]