-
-
Notifications
You must be signed in to change notification settings - Fork 36
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: fix e2e test kind setup #676
test: fix e2e test kind setup #676
Conversation
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 the contribution ! A little comment on my side.
tests/e2e/main_test.go
Outdated
@@ -62,6 +64,46 @@ func TestMain(m *testing.M) { | |||
os.Exit(testMainRun(m)) | |||
} | |||
|
|||
type FixedKindProvider struct { |
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.
Could you please move this in another file ?
Could you also add a comment that this wrapper around the kind cluster is existing in the codebase while waiting for kubernetes-sigs/e2e-framework#395 to be merged ?
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.
Sounds good. I've also changed the KUBERNETES_VERSION
check so that it's skipped when not set or empty. Helpful for running e2e test locally regardless of the K8s version.
Hi @jashandeep-sohi ! Could you please squash your commits? Thanks! |
e1747d2
to
21250fa
Compare
|
Issue: #675