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 nodeAffinity e2e file not exist failure #30061

Conversation

kevin-wangzefeng
Copy link
Member

ref #25584 (comment) and #30018 (comment)
#25584 removed repoRoot in scheduler_predicates e2e test.

Using relative path doesn't work. And I checked the filepath that currently kubectl create -f uses in test\e2e\examples.go, test\e2e\ingress.go and test\e2e\petset.go, they are still using repoRoot to generate make filepath.

This PR is to revert the change that #25584 did in scheduler_predicates.go

@kevin-wangzefeng
Copy link
Member Author

/cc @gmarek @ixdy @jayunit100

@k8s-github-robot
Copy link

Labelling this PR as size/XS

@k8s-github-robot k8s-github-robot added size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. release-note-label-needed labels Aug 4, 2016
@gmarek
Copy link
Contributor

gmarek commented Aug 4, 2016

I wrote #30060 which removes kubectl call from the path to avoid such problem in the future. We just shouldn't use it in tests other that kubectl ones. Thanks for writing it though:)

@gmarek gmarek closed this Aug 4, 2016
@k8s-bot
Copy link

k8s-bot commented Aug 4, 2016

GCE e2e build/test passed for commit d7982a2.

@kevin-wangzefeng kevin-wangzefeng deleted the fix-scheduler-predicates-affinity-tests branch August 8, 2016 03:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants