-
Notifications
You must be signed in to change notification settings - Fork 284
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
Fixes #37277 - Fix ACS randomly failing VCR tests #10941
Conversation
test_bad_promote_out_of_sequence – Katello::Api::V2::ContentViewVersionsControllerTest is an unrelated failure, but I'll add the fix in here. |
82312cd
to
f804c42
Compare
Pipeline is green! @sjha4 |
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.
🍏 🍏
@@ -108,7 +108,7 @@ def create | |||
if acs.content_type == ::Katello::Repository::FILE_TYPE && acs.subpaths.present? | |||
paths = insert_pulp_manifest!(paths) | |||
end | |||
response = api.alternate_content_source_api.create(name: generate_backend_object_name, paths: paths, | |||
response = api.alternate_content_source_api.create(name: generate_backend_object_name, paths: paths.sort, |
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.
Seems fair..Ack 👍🏼
(cherry picked from commit 6d93801)
* Refs #37148 - Remove removed_widgets override (#10927) (cherry picked from commit 40a70ce) * Fixes #35215 - Handle cloned hostgroups in hosts_and_hostgroups_helper (#10894) (cherry picked from commit e3d46c6) * Fixes #36979 - Remove cdn_ssl_version setting This was originally added to allow downgrading the CDN connection SSL version for compatibility with much older proxy servers. That should be less of a concern now. We do still set a value of TLS v1.2 for the min_version, but only because ruby/openssl#709 prevents using the system-wide crypto policy for now. In the future, that can be removed as well, restoring control to the user at the OS level. (cherry picked from commit 78fcba9) * Fixes #37277 - Fix ACS randomly failing VCR tests (#10941) (cherry picked from commit 6d93801) * Fixes #37240 - Fix CCV duplicate repo warning (#10928) (cherry picked from commit 02fc313) --------- Co-authored-by: Jeremy Lenz <jlenz@redhat.com> Co-authored-by: William Bradford Clark <wclark@redhat.com> Co-authored-by: Ian Ballou <ianballou67@gmail.com> Co-authored-by: Markus Bucher <bucher@atix.de>
What are the changes introduced in this pull request?
Should fix the ruby tests run in the GH actions. There was ordering randomness with ACS paths.
Considerations taken when implementing this change?
Sorting during ACS creation / updating should have a very minimal affect on performance. Plus, it reduces randomness.
What are the testing steps for this pull request?
See that that tests all pass.