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
Create AppsV1Deployment resource lifecycle test - +6 endpoint coverage #92589
Merged
k8s-ci-robot
merged 9 commits into
kubernetes:master
from
ii:create-deployment-resource-lifecycle-test
Jul 24, 2020
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
3149247
Add Deployment resource lifecycle test as-is
BobyMCbobs e719b72
Update checks and status messages; Remove asserting of status values
BobyMCbobs b38d7f2
Remove watch tooling
BobyMCbobs 125e839
Fix formatting
BobyMCbobs 9c2330d
Revert ginkgoRecover
BobyMCbobs fc8e24c
Add watchtools.Until for fetching watch events; Remove plain watch
BobyMCbobs 11492f7
Add check for Modified after patch; Update checks for scale
BobyMCbobs 84de375
Fix error message
BobyMCbobs ee29022
Update test images to use conformance images
BobyMCbobs File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Why is
dc.Resource
being used instead off.ClientSet.AppsV1().Deployments
?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'm also curious why
Update
is being used here instead of the usual marshal-json-to-bytes-then-Patch
approach I've seen in other tests from you?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.
This was meant to hit replaceAppsV1NamespacedDeploymentStatus, which to my research requires the DynamicClient - also why it's still remaining like this. Should I replace it with the default ClientSet, or should I leave it around for when the Endpoint could be added at a later date as a reminder?
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.
Also because it's trying to hit the endpoint replaceAppsV1NamespacedDeploymentStatus.