pankajkoti commented on code in PR #43181:
URL: https://github.com/apache/airflow/pull/43181#discussion_r1808233509


##########
task_sdk/tests/conftest.py:
##########
@@ -16,10 +16,15 @@
 # under the License.
 from __future__ import annotations
 
+import os
+
 import pytest
 
 pytest_plugins = "tests_common.pytest_plugin"
 
+# Task SDK does not need access to the Airflow database
+os.environ["_AIRFLOW_SKIP_DB_TESTS"] = "true"

Review Comment:
   I believe we’re running the Task SDK tests in a separate process, as 
indicated by the dedicated task-sdk-tests.yml GitHub workflow. However, I hope 
that we aren’t running any other tests/modules in the same process elsewhere 
that could be impacted by this setup. 



-- 
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]

Reply via email to