-
Notifications
You must be signed in to change notification settings - Fork 15
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
tests: factorize & fix URL for candlepin owner #191
tests: factorize & fix URL for candlepin owner #191
Conversation
[citest] |
[citest bad] |
[citest bad] |
2 similar comments
[citest bad] |
[citest bad] |
[citest_bad] |
[citest] |
The Candlepin URL used to query the owner (= organization) used in the tests when using the self-deployed Candlepin was wrong, using the username rather than the organization name. It works fine because the username and the organization name are currently the same. Hence, to avoid issues in the future, properly use the organization name instead. To simplify the maintenance of that code, create a new helper fact with the Candlepin URL for the current owner. There is no behaviour change in the tests. Signed-off-by: Pino Toscano <[email protected]>
373e32a
to
cadc721
Compare
[citest] |
[citest_bad] |
I think we should go ahead and merge this PR. The failures are due to known issues not related to this PR, and we have a plan to address them. |
OK. I simply want to avoid forgetting about the issues, and then CI jobs keeps becoming more and more red :-( |
The Candlepin URL used to query the owner (= organization) used in the tests when using the self-deployed Candlepin was wrong, using the username rather than the organization name. It works fine because the username and the organization name are currently the same.
Hence, to avoid issues in the future, properly use the organization name instead. To simplify the maintenance of that code, create a new helper fact with the Candlepin URL for the current owner.
There is no behaviour change in the tests.