-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Refactor e2e #3800
Refactor e2e #3800
Conversation
7ac9338
to
4a616e1
Compare
@@ -230,7 +198,7 @@ func (f *Framework) matchNginxConditions(name string, matcher func(cfg string) b | |||
|
|||
o, err := f.ExecCommand(pod, cmd) | |||
if err != nil { | |||
return false, err | |||
return false, nil |
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.
why are we not returning the err
anymore?
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.
Because returning an error breaks the poll loop
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.
oops - so that means all the polling e2e tests have been doing weren't really polling?!
Just few questions overall looks good to me, also it'd be better if you did framework refactoring (removing IngressController) in a separate PR. |
Squash the commits please - then it's good to go. |
24002dc
to
1813dd0
Compare
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: aledbf, ElvinEfendi 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 |
@aledbf this has broken running e2e tests locally on OSX at least. I did
I tried
and rebuilt the image, but it did not help. Do you know what's going on? |
@ElvinEfendi yes, my fault. I am using the existing ginkgo and e2e.test binaries, something not possible. I will open a PR to build the binaries correctly every time. |
What this PR does / why we need it:
In order to migrate to kind to run the e2e test we need some changes:
I also took the opportunity to cleanup the Framework struct and methods
Which issue this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close that issue when PR gets merged): fixes #Special notes for your reviewer: