-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Failing test case for V1VerticalPodAutoscalerCrudTest #3775
Conversation
@rohanKanojia I have identified this serialization issue today... will work on it in the following days. |
Could you please create an issue also so that I can assign it to you ? |
|
@rohanKanojia done. Should I add an entry to the changelog? |
@matthyx : thanks, yes please. |
@rohanKanojia ready :) |
" containerPolicies:", | ||
" - containerName: container", | ||
" controlledResources: [\"cpu\", \"memory\"]", | ||
" controlledValues: RequestsOnly" |
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 add an assert statement below to check whether resourceName is deserialized into VPA correctly?
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.
Umm, sorry. I meant assertion for vpa.getSpec().getResourcePolicy().getContainerPolicies().get(0).getControlledResources()
(field for which this fix is)
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.
Sorry for the delay, done!
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
@rohanKanojia ready to review :) |
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.
LGTM, thx!
* Failing test case for V1VerticalPodAutoscalerCrudTest * Fix existingJavaType for controlledResources in VPA extension (cherry picked from commit bcfd4fd)
Description
Type of change
test, version modification, documentation, etc.)
Checklist