Split packages test data to avoid sorting issue
Merged
requested to merge 448846-test-spec-models-packages-package_spec-rb-packages-package-sorting-orders-packages-by-their into master
What does this MR do and why?
Split test data to avoid sorting issue
The order of the packages that have the same value for the column that
is used for ORDER BY
statement isn't guaranteed, therefore split the
test data to avoid flakyness in the tests.
The MR should fix the issues [Test] spec/models/packages/package_spec.rb | P... (#448846 - closed) and [Test] spec/models/packages/package_spec.rb | P... (#448847 - closed)
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
How to set up and validate locally
We can check that the tests are passing.
bundle exec rspec spec/models/packages/package_spec.rb:1057
Related to #448846 (closed)
Edited by Dzmitry (Dima) Meshcharakou
Merge request reports
Activity
Please register or sign in to reply