Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToon Claes <toon@gitlab.com>2018-10-16 14:39:18 +0300
committerToon Claes <toon@gitlab.com>2018-11-28 00:48:55 +0300
commitcc70bd8440d5de0c3e25dfa6e94337d4fbd245d3 (patch)
tree80646cc0bd7894d29047c6938664dd54800cba93 /spec/migrations
parent1f2c9915f6f3dded3fc578324d840919625c26df (diff)
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.rb6
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