sunank200 commented on issue #52020: URL: https://github.com/apache/airflow/issues/52020#issuecomment-3000017997
For the CNCF provider: `@pytest.mark.db_test` is in https://github.com/apache/airflow/blob/main/providers/cncf/kubernetes/tests/unit/cncf/kubernetes/operators/test_resource.py#L80, and it is required for 11 tests as they have a database dependency. - `pytestmark = pytest.mark.db_test` is there in https://github.com/apache/airflow/blob/main/providers/cncf/kubernetes/tests/unit/cncf/kubernetes/cli/test_kubernetes_command.py#L35 and 9 tests require it for database access. - `@pytest.mark.db_test` is there in https://github.com/apache/airflow/blob/main/providers/cncf/kubernetes/tests/unit/cncf/kubernetes/decorators/test_kubernetes_commons.py, which has 109 tests that use the database. - Removed a few `@pytest.mark.db_test` in https://github.com/apache/airflow/blob/main/providers/cncf/kubernetes/tests/unit/cncf/kubernetes/executors/test_kubernetes_executor.py and few tests have DB dependencies. - `@pytest.mark.db_test` is there in https://github.com/apache/airflow/blob/main/providers/cncf/kubernetes/tests/unit/cncf/kubernetes/operators/test_job.py and has database dependency. - Removed a few `@pytest.mark.db_test` in https://github.com/apache/airflow/blob/main/providers/cncf/kubernetes/tests/unit/cncf/kubernetes/operators/test_spark_kubernetes.py and few tests have DB dependencies. PR to remove few unnecessary `@pytest.mark.db_test` is https://github.com/apache/airflow/pull/52153 -- 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: commits-unsubscr...@airflow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org