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

fix helm test --logs command throws exception #8396

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Cweiping
Copy link

@Cweiping Cweiping commented Jul 4, 2020

What this PR does / why we need it:

  1. Fix the kind type of hook that does not support throwing exceptions

  2. Support the job type to obtain its log

I tried to solve those issue : #8342#8018#6968.
If not, please give me some advice.Thx!

Special notes for your reviewer:

If applicable:

  • this PR contains documentation
  • this PR contains unit tests
  • this PR has been tested for backwards compatibility

@helm-bot helm-bot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Jul 4, 2020
@Cweiping Cweiping force-pushed the fix/fix_helm_test_not_get_pod_log_of_job branch from a368712 to a62e423 Compare July 4, 2020 14:07
@bacongobbler
Copy link
Member

please write a test to cover this case. Thanks.

Signed-off-by: Weiping Cai <weiping.cai@daocloud.io>
@Cweiping Cweiping force-pushed the fix/fix_helm_test_not_get_pod_log_of_job branch from a62e423 to 9d92428 Compare July 10, 2020 03:55
@helm-bot helm-bot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Jul 10, 2020
@Cweiping
Copy link
Author

please write a test to cover this case. Thanks.

I tried to write UT for a while, but I didn't feel right. I hope to get your suggestions. Then there is a bug in mock pod log and I need to wait for a release:kubernetes/kubernetes#92952

@cndoit18
Copy link
Contributor

cndoit18 commented May 11, 2021

does this PR still continue to update?

@imheresamir
Copy link

@Cweiping Are you still working on this? If not maybe someone else can help push this forward!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants