-
Notifications
You must be signed in to change notification settings - Fork 303
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
added test case TestBasicWindows #1006
Conversation
/assign @rramkumar1 |
Wondering if this should be a separate test case that runs a check on a windows node if one exists on the cluster. |
For windows, the backend service pod container image has to be built to run on windows, and it needs to be scheduled to run on windows. the test cases are the same for windows and for linux. |
@rramkumar1 ping ... |
b857e11
to
8aa304c
Compare
@bowei PTAL |
@bowei |
cmd/e2e-test/basic_test.go
Outdated
@@ -29,7 +29,15 @@ import ( | |||
"k8s.io/ingress-gce/pkg/utils/common" | |||
) | |||
|
|||
func TestBasicWindows(t *testing.T) { | |||
testBasicOS(t, "windows") |
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.
Can we use the const iota pattern here rather than passing in a raw string? So just define a type called "OS" and then have two values for 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.
sure, changed, PTAL
cmd/e2e-test/basic_test.go
Outdated
@@ -29,7 +29,15 @@ import ( | |||
"k8s.io/ingress-gce/pkg/utils/common" | |||
) | |||
|
|||
func TestBasicWindows(t *testing.T) { |
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.
call you call this TestWindows instead.
@yliaog Last comments above, then LGTM. |
ffcd0d2
to
3cdd8a2
Compare
'windows' platform
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: rramkumar1, yliaog 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 |
added test case TestBasicWindows that tests basic ingress for windows sever