-
Notifications
You must be signed in to change notification settings - Fork 38.7k
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
Use the first version as thirdparty resource preferredVersion #24006
Use the first version as thirdparty resource preferredVersion #24006
Conversation
@@ -370,114 +393,109 @@ func TestAPIVersionOfDiscoveryEndpoints(t *testing.T) { | |||
} | |||
|
|||
func TestDiscoveryAtAPIS(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.
I address the TODO (I think it's left silently by etune months ago :).
Github's diff is misleading, the only change is the master is initialized by newLimitedMaster() instead of newMaster().
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 this. I didn't realize that this had gotten commented out.
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.
Is there an issue filed about reenabling this?
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 couldn't find any.
|
||
assert.Equal(4, len(groupList.Groups)) | ||
// autoscaling group | ||
assert.Equal(expectGroupNames[0], groupList.Groups[0].Name) |
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 you add something that figures out the correct index instead of hard-coding 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.
Now it uses map instead of lists, with group name as map key, so there is no more hard-coding. PTAL. Thanks.
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.
missing push?
GCE e2e build/test passed for commit 489b1cb55af37393e3f91ec0c8e1970adbe0aadc. |
GCE e2e build/test passed for commit 495ac1a06f1f53df9626629e8358f5be0c8fdd63. |
495ac1a
to
6279b69
Compare
GCE e2e build/test failed for commit 6279b697a6e7f2f7a247f82291cc696c890c1aab. Please reference the list of currently known flakes when examining this failure. If you request a re-test, you must reference the issue describing the flake. |
GCE e2e build/test passed for commit 6279b697a6e7f2f7a247f82291cc696c890c1aab. |
LGTM, please squash & add the label |
6279b69
to
f315ffd
Compare
Thanks. Squashed. Applying the label. |
GCE e2e build/test passed for commit f315ffd. |
GCE e2e build/test passed for commit f315ffd. |
GCE e2e build/test passed for commit f315ffd. |
GCE e2e build/test passed for commit f315ffd. |
@k8s-bot test this [submit-queue is verifying that this PR is safe to merge] |
GCE e2e build/test passed for commit f315ffd. |
Automatic merge from submit-queue |
…#24006-upstream-release-1.2 Automated cherry pick of #24006
Commit found in the "release-1.2" branch appears to be this PR. Removing the "cherrypick-candidate" label. If this is an error find help to get your PR picked. |
…y-pick-of-#24006-upstream-release-1.2 Automated cherry pick of kubernetes#24006
…y-pick-of-#24006-upstream-release-1.2 Automated cherry pick of kubernetes#24006
[release-4.2] Bug 1762658: UPSTREAM: 83747: Improve efficiency of csiMountMgr.GetAttributes Origin-commit: a9e953f1319afe0b7a56d5f13d1a6f82e87c51f6
First commit is a one-liner, which implements the server-half of #23985.
The other two commits rearrange the test code, and add back a commented out test of thirdparty resource.
@lavalamp @nikhiljindal