-
Notifications
You must be signed in to change notification settings - Fork 82
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
Remove long deprecated entities and Version based logic blocks #767
Conversation
fcdc633
to
bb74108
Compare
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.
Just as a reminder for this PR, references to "sat" and "sam" as server_modes should be removed as well.
09a66ad
to
c8944ae
Compare
Could you include the results of a standalone automation run for say activation keys? |
For testing this branch: SatelliteQE/nailgun#767
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.
Have you tested with just removing all the 6.1 related code?
tests/test_entities.py
Outdated
@@ -69,7 +70,7 @@ class InitTestCase(TestCase): | |||
def setUpClass(cls): | |||
"""Set a server configuration at ``cls.cfg``.""" | |||
cls.cfg = config.ServerConfig('http://example.com') | |||
cls.cfg_610 = config.ServerConfig('http://example.com', version='6.1.0') | |||
cls.cfg_610 = config.ServerConfig('http://example.com', version='6.8.0') |
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 wonder why you have cls.cfg_610
not 680 here. I further wonder why you cannot just remove all the 6.1 stuff. Satellite 6.1 was quite different, but we do not need that code in master.
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.
Just missed updating the name here.
As you'll see I have removed entire tests for some entities, but that was focused on which unit tests started failing, and whether or not they were still relevant. I'll take a second look at how relevant this test is and at a minimum update the name to be consistent.
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.
Some removals may take some input from component owners, or a whole lot of investigation by me - we've got entity mixin function overrides that per their docblocks are to workaround BZ's that were written and closed years ago.
c8944ae
to
b2ffd43
Compare
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.
ACK
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.
ACK with non blocking improvements.
b2ffd43
to
dbb37e6
Compare
Version logic blocks based on Sat 6.1 and 6.2, as well as long deprecated System and SystemPackge entities removed Eliminate server_modes no longer valid for katello/satellite Update and remove unit tests
dbb37e6
to
1a095b6
Compare
Removed:
Test Results
/view/Satellite 6/job/satellite6-standalone-automation/2089/testReport/