Skip to content

Disable internal RPC API tests in isolation mode#41236

Merged
potiuk merged 3 commits intoapache:mainfrom
jscheffl:bugfix/41067-fix-tests-internal_api-endpoints
Aug 3, 2024
Merged

Disable internal RPC API tests in isolation mode#41236
potiuk merged 3 commits intoapache:mainfrom
jscheffl:bugfix/41067-fix-tests-internal_api-endpoints

Conversation

@jscheffl
Copy link
Contributor

@jscheffl jscheffl commented Aug 3, 2024

Related: #41067

Sounds a bit strange but in the RPC API tests the pytest spawns its own internal flask server which conflicts with the separate started by pytest.
As long as we do not have only/exclusive internal API tests, we must disable these in isolation mode.

I tried to make them working but also if the internal API server is started in pytest, a DB access is needed which heavily conflicts with the traceback session mode. Main conflict is within minimal_app_for_internal_api() mock

@potiuk potiuk merged commit e2cc315 into apache:main Aug 3, 2024
@jscheffl jscheffl deleted the bugfix/41067-fix-tests-internal_api-endpoints branch October 5, 2025 07:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants