Fix flaky project destroy service spec
What does this MR do and why?
- Issue: #384957 (closed)
- Similar MR: !97690 (merged)
The UpdateCachedMetadataWorker
gets called with an array of sliced
ids. e.g. [[1,2], [3]]
. As we can't be sure of the ordering of the IDs
we had a flaky spec.
Since the array is sliced, we were not able to just use match_array
and therefore opted to check separately if the ids got sliced into two
arrays and contain the right IDs.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
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.