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

kubeadm: added tests cert/pkiutil pkg #40888

Merged
merged 1 commit into from
Feb 8, 2017

Conversation

dmmcquay
Copy link
Contributor

@dmmcquay dmmcquay commented Feb 2, 2017

raised coverage from ~37% to ~77%

What this PR does / why we need it: added tests to cert/pkiutil pkg and raised coverage from ~37% to ~77%

Adding unit tests is a WIP from #34136

Special notes for your reviewer: /cc @luxas @pires

Release note:

NONE

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Feb 2, 2017
@k8s-reviewable
Copy link

This change is Reviewable

@k8s-github-robot k8s-github-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. release-note-none Denotes a PR that doesn't merit a release note. labels Feb 2, 2017
@dmmcquay
Copy link
Contributor Author

dmmcquay commented Feb 6, 2017

@mikedanese mind reviewing this PR?

if err != nil {
t.Fatalf("Couldn't create tmpdir")
}
defer os.Remove(tmpdir)
Copy link
Contributor

Choose a reason for hiding this comment

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

Use os.RemoveAll.

if err != nil {
t.Fatalf("Couldn't create tmpdir")
}
defer os.Remove(tmpdir)
Copy link
Contributor

Choose a reason for hiding this comment

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

Use os.RemoveAll.

@luxas luxas assigned pires and unassigned mikedanese Feb 6, 2017
@k8s-github-robot k8s-github-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Feb 6, 2017
@luxas
Copy link
Member

luxas commented Feb 6, 2017

I let @pires lgtm this once he's happy with it

/approve

@k8s-github-robot k8s-github-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 6, 2017
@dmmcquay
Copy link
Contributor Author

dmmcquay commented Feb 6, 2017

@pires can I get your lgtm for this?

@pires
Copy link
Contributor

pires commented Feb 7, 2017

@dmmcquay please squash.

raised coverage from ~37% to ~77%
@k8s-github-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

The following people have approved this PR: dmmcquay, luxas

Needs approval from an approver in each of these OWNERS Files:

You can indicate your approval by writing /approve in a comment
You can cancel your approval by writing /approve cancel in a comment

@pires
Copy link
Contributor

pires commented Feb 7, 2017

@k8s-bot cvm gce e2e test this

@pires
Copy link
Contributor

pires commented Feb 7, 2017

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Feb 7, 2017
@k8s-github-robot
Copy link

Automatic merge from submit-queue (batch tested with PRs 41061, 40888, 40664, 41020, 41085)

@k8s-github-robot k8s-github-robot merged commit b58a207 into kubernetes:master Feb 8, 2017
@pires pires deleted the kubeadm_pkiutil_tests branch February 8, 2017 08:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. release-note-none Denotes a PR that doesn't merit a release note. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants