-
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
SCA refactor of Subscription HTTP proxy test #14133
Conversation
trigger: test-robottelo |
PRT Result
|
@vsedmik I think it's better to keep it the same as it's still in a way testing the HTTP proxy functionalities with subscription/manifest. |
As far as I can see the manifest is uploaded AFTER the HTTP proxy is set. So from this point of view we should be safe I guess. But good point anyway! |
Problem Statement
As 6.16 is SCA-only we need to get rid of entitlements and subscriptions related logic in our tests but keep the approach user take for this or similar scenario.
Solution
Get rid of entitlements/subscriptions. Also I propose to change this test case to
e2e
since it syncs a RH repo, publishes and promotes it to an LCE, registers a content host via AK and consumes the content in it. Case remain parametrized to run with authenticated, unauthenticated and without (this param could be probably omited) HTTP proxy.One minor update in
enable_sync_redhat_repo
so that we can use repos from constants which definearch
key instead ofbasearch
or even no arch at all.Open question: Should the test id be changed since it doesn't cover the subscription manipulation at all?
PRT test Cases example
trigger: test-robottelo
pytest: tests/foreman/api/test_http_proxy.py -k install_content_with_http_proxy