Fix flaky test for StreamingSerializer
requested to merge 390356-spec-lib-gitlab-import_export-json-streaming_serializer_spec-rb into master
Related to #390356 (closed)
What does this MR do and why?
This MR fixes the flaky spec for inaccessible associations export that was failing because it deleted an item from the collection using its index (that might vary) instead of its ID.
$ bin/rspec './spec/lib/gitlab/import_export/json/streaming_serializer_spec.rb[1:1:6:2:1:1:1:1]' --seed 56182
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 Eugenia Grieff