Skip to content

Conversation

@emmettbutler
Copy link
Contributor

This pull request fixes a failure of test_warn_duplicate_operation_id that occurs when it runs under Datadog's ddtrace-run runtime wrapper. This failure was induced by the changes in DataDog/dd-trace-py#7957, which add a deprecation warning for an internal Datadog feature.

This change makes sense to merge because the possibility of wrapper libraries emitting warnings is not limited to dd-trace-py.

@tiangolo tiangolo changed the title make test_warn_duplicate_operation_id tolerate warning messages from third-party runtime wrappers ✅ Refactor tests for duplicate operation ID generation for compatibility with other tools running the FastAPI test suite Jan 13, 2024
@tiangolo
Copy link
Member

Cool, thanks @emmettbutler! 🚀

@tiangolo tiangolo enabled auto-merge (squash) January 13, 2024 15:05
@tiangolo tiangolo merged commit f18eadb into fastapi:master Jan 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants