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

gofail: show error messages returned by gofail HTTP endpoints #17842

Merged
merged 1 commit into from Apr 29, 2024

Conversation

henrybear327
Copy link
Contributor

@henrybear327 henrybear327 commented Apr 22, 2024

This PR introduces showing the error message returned by gofail HTTP endpoints, making debugging easier.

Also apply simplified Enabled() logic, as suggested by the linter

Please read https://github.com/etcd-io/etcd/blob/main/CONTRIBUTING.md#contribution-flow.

@k8s-ci-robot
Copy link

Hi @henrybear327. Thanks for your PR.

I'm waiting for a etcd-io member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@henrybear327
Copy link
Contributor Author

/assign

@henrybear327 henrybear327 force-pushed the gofail/show_req_error_msg branch 2 times, most recently from 82fb546 to b3bba0d Compare April 23, 2024 16:35
tests/framework/e2e/etcd_process.go Outdated Show resolved Hide resolved
tests/framework/e2e/etcd_process.go Outdated Show resolved Hide resolved
@ivanvc
Copy link
Member

ivanvc commented Apr 24, 2024

/ok-to-test

@henrybear327 henrybear327 force-pushed the gofail/show_req_error_msg branch 3 times, most recently from de7b70a to a9485dd Compare April 25, 2024 22:56
Upon HTTP request error from fetchFailpointsBody, PUT and DELETE,
all of them will return an error message, which would be nice for
debugging if displayed.

Simplify `Enabled()` logic (linter suggestion)

Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
@serathius serathius merged commit 2a8f77c into etcd-io:main Apr 29, 2024
44 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

None yet

7 participants