-
Notifications
You must be signed in to change notification settings - Fork 40.1k
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
Move NewAgnhostPod() to e2e/network #89387
Conversation
/priority backlog |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: oomichi The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
According to https://storage.googleapis.com/kubernetes-jenkins/pr-logs/pull/89387/pull-kubernetes-bazel-build/1242236102538956800/build-log.txt the failure seems unrelated to this PR as:
/test pull-kubernetes-bazel-build |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
generally lgtm
test/e2e/network/util.go
Outdated
@@ -21,9 +21,17 @@ import ( | |||
"fmt" | |||
"time" | |||
|
|||
v1 "k8s.io/api/core/v1" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: import alias with the same name does not help
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I know that.
This part comes from the original one, I don't have strong opinion about that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have a chance to update this PR.
So I am applying this your point into the latest PR.
/lgtm |
because the function is called in e2e/network tests only.
/lgtm |
/retest Review the full test history for this PR. Silence the bot with an |
/test pull-kubernetes-e2e-gce |
/test pull-kubernetes-e2e-gce |
1 similar comment
/test pull-kubernetes-e2e-gce |
What type of PR is this?
/kind cleanup
What this PR does / why we need it:
because the function is called in e2e/network tests only and it is nice to move from util.go for reducing the code of util.go file.
Ref: #77095
Does this PR introduce a user-facing change?: