-
Notifications
You must be signed in to change notification settings - Fork 115
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
Make default_os name and major versions configurable #14670
Make default_os name and major versions configurable #14670
Conversation
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.
Looks good to me. Let's run PRT and see how it goes.
My assumption would be to make sure the |
trigger: test-robottelo |
PRT Result
|
45998cc
to
43cc628
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.
We need to find better place for DEFAULT_OS
setting than in server.yaml
(relates to Satellite server)
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.
We need to find better place for DEFAULT_OS
setting than in server.yaml
(relates to Satellite server)
43cc628
to
541cf57
Compare
I have traced the origin of the fixture back to d1cce26 (#7604). Can we rework the fixture to create Operating Systems instead of creating new ones? If not, can we create a new fixture that would create new OSes instead of searching for existing ones? Eventually, this fixture can stay if there are tests that need to search for existing OSes. |
IMO this is out of scope for this PR
As I understand it this fixture is used to search for operating systems that have been setup by the foreman installer? |
What I am worried about is that this fixture is very misleading. Even better, this could be directly accessed through
|
It seems this has gathered a lot of attention. While I agree with @rplevka's opinion that this fixture is misleading, the original intent of this PR was to keep the same functionality of |
trigger: test-robottelo |
PRT Result
|
541cf57
to
9f12a7e
Compare
PRT Result
|
It seems that our Selenium grid is down ATM.
Let's try different test |
trigger: test-robottelo |
PRT Result
|
trigger: test-robottelo |
also enable searching for os names other than redhat os
8b88576
to
5a2d67f
Compare
@jyejare I rebased |
trigger: test-robottelo |
PRT Result
|
also enable searching for os names other than redhat os (cherry picked from commit 56441e0)
also enable searching for os names other than redhat os (cherry picked from commit 56441e0)
also enable searching for os names other than redhat os (cherry picked from commit 56441e0)
also enable searching for os names other than redhat os
Problem Statement
default os is hardcoded in fixture
Solution
Related Question
Why is a new instance of
OperatingSystem
created here instead of returning the one create above?Related test
tests/foreman/ui/test_registration.py::test_global_registration_form_populate