-
Notifications
You must be signed in to change notification settings - Fork 40k
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
test/e2e/framework:move OpenWebSocketForURL to subpackage(new) websocket #89405
test/e2e/framework:move OpenWebSocketForURL to subpackage(new) websocket #89405
Conversation
/kind cleanup |
test/e2e/common/pods.go
Outdated
@@ -44,6 +44,7 @@ import ( | |||
"k8s.io/kubernetes/test/e2e/framework" | |||
e2ekubelet "k8s.io/kubernetes/test/e2e/framework/kubelet" | |||
e2epod "k8s.io/kubernetes/test/e2e/framework/pod" | |||
websocketutil "k8s.io/kubernetes/test/e2e/framework/websocket" |
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.
Follow the naming pattern like e2ewebsocket
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.
+1
It is nice to add it into ./hack/.import-aliases
also.
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.
sure i will update it
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.
There are 2 alias name pattern in e2e. e2efoo
or e2efooutil
. Which is better?
@@ -0,0 +1,80 @@ | |||
/* | |||
Copyright 2018 The Kubernetes Authors. |
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.
Update year to 2020
test/e2e/kubectl/portforward.go
Outdated
@@ -39,6 +39,7 @@ import ( | |||
"k8s.io/kubernetes/test/e2e/framework" | |||
e2ekubectl "k8s.io/kubernetes/test/e2e/framework/kubectl" | |||
e2epod "k8s.io/kubernetes/test/e2e/framework/pod" | |||
websocketutil "k8s.io/kubernetes/test/e2e/framework/websocket" |
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.
Same as above
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.
Most part seems good for me.
just one comment.
test/e2e/common/pods.go
Outdated
@@ -44,6 +44,7 @@ import ( | |||
"k8s.io/kubernetes/test/e2e/framework" | |||
e2ekubelet "k8s.io/kubernetes/test/e2e/framework/kubelet" | |||
e2epod "k8s.io/kubernetes/test/e2e/framework/pod" | |||
websocketutil "k8s.io/kubernetes/test/e2e/framework/websocket" |
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.
+1
It is nice to add it into ./hack/.import-aliases
also.
/assign @alejandrox1 |
/test pull-kubernetes-e2e-gce |
test/e2e/common/pods.go
Outdated
@@ -44,6 +44,7 @@ import ( | |||
"k8s.io/kubernetes/test/e2e/framework" | |||
e2ekubelet "k8s.io/kubernetes/test/e2e/framework/kubelet" | |||
e2epod "k8s.io/kubernetes/test/e2e/framework/pod" | |||
e2ewebsocketutil "k8s.io/kubernetes/test/e2e/framework/websocket" |
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.
It is better to set the alias name as e2ewebsocket
for consistent name as the above.
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.
sure.
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.
done
/lgtm |
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.
Thanks for updating.
/retest
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: oomichi, tanjunchen 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 |
/retest Review the full test history for this PR. Silence the bot with an |
What type of PR is this?
/kind cleanup
/priority backlog
What this PR does / why we need it:
Here are some reasons to support this PR.
Which issue(s) this PR fixes:
ref:#77095
Special notes for your reviewer:
Does this PR introduce a user-facing change?:
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: