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

Revert revert of refactor proxy for simpler error handling (#271) #300

Merged
merged 4 commits into from
Aug 17, 2023

Conversation

nadiamoe
Copy link
Member

Description

This PR brings back #271 fixing a bug that caused all requests that were supposed to be forwarded upstream to return a 502 error.

Additionaly, it adds an E2E test covering this use case.

Fixes #292

Checklist:

  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works.
  • I have run linter locally (make lint) and all checks pass.
  • I have run tests locally (make test) and all tests pass.
  • I have run relevant e2e test locally (make e2e-xxx for agent, disruptors, kubernetes or cluster related changes)
  • Any dependent changes have been merged and published in downstream modules

nadiamoe and others added 4 commits August 16, 2023 14:58
This makes the Host unique for each ingress and test case, as the namespace is derived from the test name.

Co-authored-by: Pablo Chacin <pablochacin@gmail.com>
@nadiamoe nadiamoe requested a review from pablochacin August 16, 2023 15:29
Copy link
Collaborator

@pablochacin pablochacin left a comment

Choose a reason for hiding this comment

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

LGTM

@nadiamoe nadiamoe merged commit 7810fda into main Aug 17, 2023
@nadiamoe nadiamoe deleted the revert-revert-refactor branch August 17, 2023 14:29
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.

HTTP fault injection returns 502 (bad gateway) for all requests
2 participants