-
Notifications
You must be signed in to change notification settings - Fork 430
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
split out AKS E2E source files #2909
split out AKS E2E source files #2909
Conversation
8d4cc71
to
2e9e058
Compare
/assign @nawazkh |
/retest |
Looks like timeout errors on the PR tests, thanks for putting this together!
|
Copyright 2022 The Kubernetes Authors. | ||
|
||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. |
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.
instead of having a bunch of aks_ files, what are your thoughts on adding an aks
sub folder?
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 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.
I don't see any strong reasons to prefer one option over the other. I can see where a subdirectory would keep the file tree a bit tidier, but readability in azure_test.go might take a marginal hit if the AKS test specs need a package prefix. In that case if we had something like AzureLBSpec
and aks.AutoscaleSpec
used similarly, I might assume at first glance that they're more different conceptually than they actually are based on one being in a sub-package. That's quite a bit of "reading between the lines" though.
Overall I think I'm leaning slightly toward keeping the AKS files in this existing directory and not putting them in their own.
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.
To clarify I don't have any strong arguments for adding a folder, just pointing it out since it jumped at me when seeing all the different files with the same prefix. Either option is fine with me.
/retest |
1 similar comment
/retest |
/lgtm |
/approve |
1 similar comment
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jackfrancis, nawazkh 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 |
1 similar comment
/retest |
What type of PR is this?
/kind cleanup
What this PR does / why we need it:
This PR splits up all of the various AKS E2E test foo in
test/e2e/aks.go
into a bunch of discrete files to maintain specific tests.The practical impetus of this is to use a newer SDK version of the AKS API which has a more updated representation of configuration. The existing AKS "get me the latest version" foo, unfortunately, depends on an older version of the SDK which is not forward-compatible. Attempting to do that surgery at this time is more work than justifies (IMO).
This is also (IMO) a more maintainable path.
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #
Special notes for your reviewer:
Please confirm that if this PR changes any image versions, then that's the sole change this PR makes.
TODOs:
Release note: