summaryrefslogtreecommitdiff
path: root/spec/migrations/schedule_merge_request_latest_merge_request_diff_id_migrations_spec.rb
Commit message (Collapse)AuthorAgeFilesLines
* Replace 'Sidekiq::Testing.inline!' with 'perform_enqueued_jobs'blackst0ne2018-07-231-1/+1
| | | | | | | | | | `perform_enqueued_jobs` is a Sidekiq method. Using this method violates the Dependency inversion principle[0]. This commit replaces `perform_enqueued_jobs` with ActiveJob's abstract method `perform_enqueued_jobs` in specs. [0]: https://en.wikipedia.org/wiki/Dependency_inversion_principle
* Refactor matchers for background migrationsce-backport=reorder-issuesJarka Kadlecová2018-01-051-3/+3
|
* Convert migration to populate latest merge request ID into a background ↵Stan Hu2017-11-171-0/+64
migration This is to smear updates over a few hours to avoid causing excessive replication lag as seen in https://gitlab.com/gitlab-com/infrastructure/issues/3235.