Fix tags order expectation for queuing tables backfill
What does this MR do and why?
There seems to be a difference between the PG versions that causes the order of tag ids in PG11 to be reversed:
the missing elements were: [(an object having attributes {:build_id => 52, :instance_runners_enabled => true, :minutes_exceeded ... 10, :namespace_traversal_ids => [10], :project_id => 5, :protected => true, :tag_ids => [22, 23]})]
the extra elements were: [#<#<Class:0x00007fa7c7c1e690> id: 20, build_id: 52, project_id: 5, created_at: "2022-02-16 13:37:15.... true, namespace_id: 10, minutes_exceeded: false, tag_ids: [23, 22], namespace_traversal_ids: [10]>]
From https://gitlab.com/gitlab-org/gitlab/-/jobs/2100438648
Related to !80172 (merged)
Screenshots or screen recordings
These are strongly recommended to assist reviewers and reduce the time to merge your change.
How to set up and validate locally
Change tag_ids: match_array([22, 23]),
to tag_ids: match_array([23, 22]),
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Marius Bobin