Skip to content

Fix group destroy service flaky spec

Nicolas Dular requested to merge nd/fix-group-destroy-service-flake-spec into master

What does this MR do and why?

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.

Issue: #373261 (closed)

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.

Merge request reports