diff options
author | Toon Claes <toon@gitlab.com> | 2018-10-16 13:39:18 +0200 |
---|---|---|
committer | Toon Claes <toon@gitlab.com> | 2018-11-27 22:48:55 +0100 |
commit | cc70bd8440d5de0c3e25dfa6e94337d4fbd245d3 (patch) | |
tree | 80646cc0bd7894d29047c6938664dd54800cba93 /spec/migrations | |
parent | 1f2c9915f6f3dded3fc578324d840919625c26df (diff) | |
download | gitlab-ce-cc70bd8440d5de0c3e25dfa6e94337d4fbd245d3.tar.gz |
Move code to a BackgroundMigration
And run in intervals.
Diffstat (limited to 'spec/migrations')
-rw-r--r-- | spec/migrations/backfill_store_project_full_path_in_repo_spec.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/migrations/backfill_store_project_full_path_in_repo_spec.rb b/spec/migrations/backfill_store_project_full_path_in_repo_spec.rb index f2651f8a02f..b5e770e6b01 100644 --- a/spec/migrations/backfill_store_project_full_path_in_repo_spec.rb +++ b/spec/migrations/backfill_store_project_full_path_in_repo_spec.rb @@ -12,6 +12,12 @@ describe BackfillStoreProjectFullPathInRepo, :migration do subject(:migration) { described_class.new } + around do |example| + Sidekiq::Testing.inline! do + example.run + end + end + describe '#up' do shared_examples_for 'writes the full path to git config' do it 'writes the git config' do |