[go: nahoru, domu]

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

Added support for status code list in HTTP Chaos #545

Merged

Conversation

avaakash
Copy link
Contributor
@avaakash avaakash commented Aug 1, 2022

Signed-off-by: Akash Shrivastava as86414@gmail.com

What this PR does / why we need it:
This PR adds support for providing multiple status code in the HTTP Status Code Chaos experiment. A random status code from the provided values will be selected and used.
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #

Special notes for your reviewer:

Checklist:

  • Fixes #
  • PR messages has document related information
  • Labelled this PR & related issue with breaking-changes tag
  • PR messages has breaking changes related information
  • Labelled this PR & related issue with requires-upgrade tag
  • PR messages has upgrade related information
  • Commit has unit tests
  • Commit has integration tests
  • E2E run Required for the changes

…code

Signed-off-by: Akash Shrivastava <as86414@gmail.com>
@avaakash avaakash added the enhancement New feature or request label Aug 1, 2022
@avaakash avaakash self-assigned this Aug 1, 2022
@avaakash avaakash added the WIP label Aug 2, 2022
Signed-off-by: Akash Shrivastava <as86414@gmail.com>
Signed-off-by: Akash Shrivastava <as86414@gmail.com>
@avaakash avaakash requested a review from Jonsy13 August 9, 2022 09:21
@uditgaurav uditgaurav merged commit 671c5e0 into litmuschaos:master Aug 16, 2022
uditgaurav added a commit that referenced this pull request Aug 16, 2022
* Added support for selecting random code from list of codes in status code

Signed-off-by: Akash Shrivastava <as86414@gmail.com>

* Random code logic fix

Signed-off-by: Akash Shrivastava <as86414@gmail.com>

* log improvement

Signed-off-by: Akash Shrivastava <as86414@gmail.com>

Signed-off-by: Akash Shrivastava <as86414@gmail.com>
Co-authored-by: Udit Gaurav <35391335+uditgaurav@users.noreply.github.com>
Signed-off-by: uditgaurav <udit@chaosnative.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request READY TO REVIEW
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants