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

FaultInjection: Adds SendDelay ServerErrorType #4447

Conversation

NaluTripician
Copy link
Contributor

Pull Request Template

Description

This PR adds the SendDelay ServerErrorType. This error will add a delay before the request is sent to the backend. This is similar to the existing ResponseDelay ServerErrorType, who's behavior is also fixed in this PR.

SendDelay will add a delay to the request before sending.
ResponseDelay functions the same however the delay is after sending the request but before sending the response.

When the delay is set to above the timeout time and users are trying to mimic timeout scenarios, these two rules will allow users to decide whether they want the request to reach the backend or not.

Type of change

Please delete options that are not relevant.

  • [] Bug fix (non-breaking change which fixes an issue)
  • [] New feature (non-breaking change which adds functionality)

Closing issues

To automatically close an issue: closes #IssueNumber

@NaluTripician NaluTripician changed the title [Internal] FaultInjection: Adds SendDelay ServerErrorType FaultInjection: Adds SendDelay ServerErrorType Apr 23, 2024
@NaluTripician NaluTripician self-assigned this Apr 24, 2024
@NaluTripician NaluTripician added the auto-merge Enables automation to merge PRs label Apr 24, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot merged commit bf2f5ee into master Apr 28, 2024
21 checks passed
@microsoft-github-policy-service microsoft-github-policy-service bot deleted the users/nalutripician/FaultInjectionBeforeAfterSend branch April 28, 2024 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-merge Enables automation to merge PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants