Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gateway mode fault injection in python #39623

Merged
merged 49 commits into from
Apr 7, 2025

Conversation

FabianMeiswinkel
Copy link
Member

@FabianMeiswinkel FabianMeiswinkel commented Feb 7, 2025

Description

This exposes a fault injection framework that overrids the http transport from azure core. It will now allow filtering requests on predicates and injecting any error at the transport level. It also allows for transforming responses. This can be used to override the database account call to make the emulator act as a multi region account. The tests in this pr are good examples on how this can be used to test different features and retry policies in our test suite.

@FabianMeiswinkel FabianMeiswinkel requested review from annatisch and a team as code owners February 7, 2025 15:31
@github-actions github-actions bot added the Cosmos label Feb 7, 2025
@azure-sdk
Copy link
Collaborator

API change check

API changes are not detected in this pull request.

@FabianMeiswinkel FabianMeiswinkel marked this pull request as draft February 7, 2025 16:32
@tvaron3 tvaron3 marked this pull request as ready for review April 3, 2025 23:10
Copy link
Member

@tvaron3 tvaron3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@FabianMeiswinkel FabianMeiswinkel merged commit 6a39435 into Azure:main Apr 7, 2025
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

6 participants