-
Notifications
You must be signed in to change notification settings - Fork 116
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
Update tests for satellite-maintain update command #14883
Conversation
|
PRT Result
|
|
1 similar comment
|
PRT Result
|
Failures here actually make sense.
This is good to merge and I will rerun with the one test that is expected to pass. |
|
1 similar comment
|
PRT Result
|
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 may be missing some context here, but based on my reading of theforeman/foreman_maintain#802 and https://projects.theforeman.org/issues/37175, it doesn't look to me like this change necessitates changing any existing tests at this point. Eric's PR notes that 'This does not remove using the upgrade command to do a z-stream "upgrade,"' and the Foreman issue is for "add[ing] a command that updates Foreman within a minor release."
To me, that means that foreman-maintain update
replaces the use of e.g. foreman-maintain upgrade --target-version 6.15.z
when updating all packages on a Foreman/Satellite server but not incrementing the version number. Upgrading from e.g. Satellite 6.15.0 to 6.15.1 still requires running foreman-maintain upgrade --target-version 6.15.z
.
So, in my view, we definitely need the CLI command that you've added here, and we may need one or more additional tests for the update functionality, but the existing upgrade tests do not need to be changed.
Could you please explain your changes to the tests in light of this? Alternatively, if I'm off base here, can you help me understand what I'm missing?
@synkd From my understanding I thought the |
The goal of the new update command is to replace the |
@synkd forgot to address
I'm opting to just update these tests to use |
I think |
@evgeni Since the list-versions command won't be necessary for zstream upgrades anymore, we are going to remove those tests. I will do that in a separate PR. We are good to merge this one. |
Began the work for removing |
Problem Statement
theforeman/foreman_maintain#802 introduces the
update
command which will replace z stream upgrades.Solution
Update robottelo tests that do a z stream upgrade.
Related Issues