Skip to content
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

Merged

Conversation

jashandeep-sohi
Copy link
Contributor

Issue: #675

@jashandeep-sohi jashandeep-sohi marked this pull request as ready for review April 2, 2024 00:29
Copy link
Owner

@alexandrevilain alexandrevilain left a 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.

@@ -62,6 +64,46 @@ func TestMain(m *testing.M) {
os.Exit(testMainRun(m))
}

type FixedKindProvider struct {
Copy link
Owner

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 ?

Copy link
Contributor Author

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.

@alexandrevilain
Copy link
Owner

Hi @jashandeep-sohi !
Thanks for your awesome contribution! 😎

Could you please squash your commits?

Thanks!

Copy link

sonarqubecloud bot commented Apr 8, 2024

Quality Gate Passed Quality Gate passed

Issues
1 New issue
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@alexandrevilain alexandrevilain merged commit 41f5cf8 into alexandrevilain:main Apr 9, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants