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 make test units with cgo #81

Merged
merged 1 commit into from
Feb 14, 2017

Conversation

andyxning
Copy link
Member

@andyxning andyxning commented Feb 8, 2017

go test -race can not be run with cgo disabled. This will result make test-unit failed.

FYI:

/cc @brancz @vdavidoff


This change is Reviewable

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Feb 8, 2017
@andyxning andyxning mentioned this pull request Feb 8, 2017
@brancz
Copy link
Member

brancz commented Feb 9, 2017

Yes I am aware of this, the only reason why we have this Makefile like this is because we were instructed to use exactly that by Google employees.

I entirely agree with this change, and have always run tests myself. Maybe @piosz can comment on the parts of the Makefile that are important for internals at Google for the release process.

@andyxning
Copy link
Member Author

/ping @piosz WDYT.

@andyxning
Copy link
Member Author

andyxning commented Feb 11, 2017

@brancz @fabxc Currently this PR will make make test-unit work properly. Seems good. :) WDYT.

@piosz
Copy link
Member

piosz commented Feb 14, 2017

LGTM

@andyxning
Copy link
Member Author

andyxning commented Feb 14, 2017

Friendly ping @brancz @vdavidoff

@brancz brancz merged commit 7cb00cf into kubernetes:master Feb 14, 2017
@andyxning andyxning deleted the fix_make_test_units branch February 15, 2017 03:11
while1malloc0 pushed a commit to while1malloc0/kube-state-metrics that referenced this pull request Jul 2, 2018
simonpasquier pushed a commit to simonpasquier/kube-state-metrics that referenced this pull request Dec 2, 2022
OCPBUGS-4089: cherry-pick, do not expose ingress path metric when service is nil
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants