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

update test to pass properly and reflect actual behavior #18356

Merged

Conversation

deads2k
Copy link
Contributor

@deads2k deads2k commented Dec 8, 2015

The existing code was always erroring and simply returning the default, "I failed" output, which happened to pass the test. This tightens the handling to fail on errors and updates the test case to reflect what's actually happening.

Kinds are expected to singular, not plural.

@janetkuo I think you wrote the original test: https://github.com/kubernetes/kubernetes/pull/10652/files#diff-c9c115e8b8a40ad87d50a100d746b178R147.

@k8s-github-robot
Copy link

Labelling this PR as size/S

@k8s-github-robot k8s-github-robot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Dec 8, 2015
@k8s-bot
Copy link

k8s-bot commented Dec 8, 2015

GCE e2e build/test failed for commit f2b73d0b85ee2abb475176ad85e53399a66fb11f.

@deads2k
Copy link
Contributor Author

deads2k commented Dec 8, 2015

no way a unit test change broken e2e

@k8s-bot test this please

@k8s-bot
Copy link

k8s-bot commented Dec 8, 2015

GCE e2e build/test failed for commit f2b73d0b85ee2abb475176ad85e53399a66fb11f.

@deads2k deads2k force-pushed the make-broken-test-correct branch from f2b73d0 to 7118f90 Compare December 9, 2015 14:12
@k8s-bot
Copy link

k8s-bot commented Dec 9, 2015

GCE e2e build/test failed for commit 7118f90.

@deads2k
Copy link
Contributor Author

deads2k commented Dec 9, 2015

No code changed.

@k8s-bot test this please

@k8s-bot
Copy link

k8s-bot commented Dec 9, 2015

GCE e2e test build/test passed for commit 7118f90.

@brendandburns
Copy link
Contributor

LGTM.

@brendandburns brendandburns added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Dec 10, 2015
@k8s-github-robot
Copy link

Automatic merge from submit-queue

k8s-github-robot pushed a commit that referenced this pull request Dec 11, 2015
@k8s-github-robot k8s-github-robot merged commit 90b5db1 into kubernetes:master Dec 11, 2015
@deads2k deads2k deleted the make-broken-test-correct branch February 26, 2016 18:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm "Looks good to me", indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants