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

test: refine daemon framework #1078

Merged
merged 2 commits into from
Apr 10, 2018
Merged

Conversation

Letty5411
Copy link
Contributor

@Letty5411 Letty5411 commented Apr 9, 2018

Signed-off-by: letty letty.ll@alibaba-inc.com

Ⅰ. Describe what this PR did

Refine the daemon test framework.
Add util functions in util_daemon.go, you could use it to start a new daemon and send request to this daemon.

Ⅱ. Does this pull request fix one issue?

Ⅲ. Describe how you did it

Ⅳ. Describe how to verify it

Ⅴ. Special notes for reviews

Signed-off-by: letty <letty.ll@alibaba-inc.com>
@Letty5411 Letty5411 changed the title test: add daemon log control flag [wip] test: refine daemon framework Apr 9, 2018
Signed-off-by: letty <letty.ll@alibaba-inc.com>
@codecov-io
Copy link

Codecov Report

Merging #1078 into master will increase coverage by 0.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1078      +/-   ##
==========================================
+ Coverage   16.52%   16.53%   +0.01%     
==========================================
  Files         161      161              
  Lines        8884     8900      +16     
==========================================
+ Hits         1468     1472       +4     
- Misses       7313     7323      +10     
- Partials      103      105       +2
Impacted Files Coverage Δ
pkg/kernel/kernel.go 72.72% <0%> (-10.61%) ⬇️
client/client.go 23.07% <0%> (-10.26%) ⬇️

@allencloud
Copy link
Collaborator

Is this still in WIP? @Letty5411

@Letty5411 Letty5411 changed the title [wip] test: refine daemon framework test: refine daemon framework Apr 10, 2018
@Letty5411
Copy link
Contributor Author

@allencloud It has been ready for reviewing.

@allencloud
Copy link
Collaborator

LGTM

@allencloud allencloud merged commit 8d90aba into AliyunContainerService:master Apr 10, 2018
@pouchrobot pouchrobot added the LGTM one maintainer or community participant agrees to merge the pull reuqest. label Apr 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
areas/log areas/test LGTM one maintainer or community participant agrees to merge the pull reuqest. size/XL
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants