Add a test for Gitlab::Seeder.parallel_each

What does this MR do and why?

This adds a test for the Gitlab::Seeder.parallel_each function, which is used by seeders to parallelize insert opertation across threads.

When we added this helper function, we didn't add specs for it. This ensures that the function works as expected.

References

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Kev Kloss

Merge request reports

Loading