Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

justinsb
Copy link
Member

Not sure if we still want to merge this, but this is #9728 with the fix for the unit test; will hopefully pass shippable and e2e.

I needed to directly initialize NodeName in the unit tests where we directly build a Kubelet. I need to figure out how this got past my testing.

justinsb added 5 commits June 18, 2015 12:40
This will allow us to use a nodeName that is not the hostname,
for example on clouds where the hostname is not the natural identifier
for a node.
The EC2 instance id is the canonical node name on EC2.
When we build a Kubelet directly we need to populate NodeName
as well as hostname, because we bypass the functions that normally
do this for us.
@dchen1107
Copy link
Member

LGTM

@k8s-bot
Copy link

k8s-bot commented Jun 18, 2015

GCE e2e build/test passed for commit 27b02d0.

@dchen1107
Copy link
Member

@justinsb My question is that why shippable didn't complain at the first place. But I do think your fix added here fix the test issue.

@dchen1107 dchen1107 added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jun 18, 2015
@justinsb
Copy link
Member Author

@dchen1107 I don't know (and I'm just confusing myself: #9728 (comment)) I did figure out that e2e testing tests not the result of the merge, but rather the tree at the head of the PR branch. We should probably make sure shippable is testing the merge result, although the downside is that requires re-running on every merge, which is expensive. But in any case, I don't think these are new unit tests, so I don't know.

I'm also worried that my tests didn't pick this up either. I run e2e tests, which require building a release, which require running the tests. I am very confused.

satnam6502 added a commit that referenced this pull request Jun 18, 2015
@satnam6502 satnam6502 merged commit 4c13f89 into kubernetes:master Jun 18, 2015
@satnam6502
Copy link
Contributor

I ran the unit tests for this PR and they pass.

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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants