This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new e2cc315bf3 Disable internal RPC API tests in isolation mode (#41236)
e2cc315bf3 is described below

commit e2cc315bf3b4536f0e80fa6ada1c47f4809b7930
Author: Jens Scheffler <[email protected]>
AuthorDate: Sat Aug 3 18:23:34 2024 +0200

    Disable internal RPC API tests in isolation mode (#41236)
---
 tests/api_internal/endpoints/test_rpc_api_endpoint.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/tests/api_internal/endpoints/test_rpc_api_endpoint.py 
b/tests/api_internal/endpoints/test_rpc_api_endpoint.py
index 0cca4a150f..f12e0ae087 100644
--- a/tests/api_internal/endpoints/test_rpc_api_endpoint.py
+++ b/tests/api_internal/endpoints/test_rpc_api_endpoint.py
@@ -37,7 +37,10 @@ from airflow.www import app
 from tests.test_utils.config import conf_vars
 from tests.test_utils.decorators import dont_initialize_flask_app_submodules
 
-pytestmark = pytest.mark.db_test
+# Note: Sounds a bit strange to disable internal API tests in isolation mode 
but...
+# As long as the test is modelled to run its own internal API endpoints, it is 
conflicting
+# to the test setup with a dedicated internal API server.
+pytestmark = [pytest.mark.db_test, pytest.mark.skip_if_database_isolation_mode]
 
 if TYPE_CHECKING:
     from flask import Flask

Reply via email to