diff options
author | Oswaldo Ferreira <oswaldo@gitlab.com> | 2018-07-05 17:15:57 -0300 |
---|---|---|
committer | Oswaldo Ferreira <oswaldo@gitlab.com> | 2018-07-10 09:43:58 -0300 |
commit | 19966e7095fd6357183afb8e009c7f8e78a05591 (patch) | |
tree | acbdf99563af096d49e52fe6e5a0cdd326ef0c3e /spec/migrations | |
parent | 4455904bc154f1a36cedeea574bb0f454f92a9e9 (diff) | |
download | gitlab-ce-19966e7095fd6357183afb8e009c7f8e78a05591.tar.gz |
Wait postgresql vacuum of deadtuples on merge_request_diff_files deletion
Diffstat (limited to 'spec/migrations')
-rw-r--r-- | spec/migrations/enqueue_delete_diff_files_workers_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/migrations/enqueue_delete_diff_files_workers_spec.rb b/spec/migrations/enqueue_delete_diff_files_workers_spec.rb index 3d19c6fcc10..803830d81cf 100644 --- a/spec/migrations/enqueue_delete_diff_files_workers_spec.rb +++ b/spec/migrations/enqueue_delete_diff_files_workers_spec.rb @@ -2,11 +2,11 @@ require 'spec_helper' require Rails.root.join('db', 'post_migrate', '20180619121030_enqueue_delete_diff_files_workers.rb') describe EnqueueDeleteDiffFilesWorkers, :migration, :sidekiq do - it 'correctly schedules diff file deletion scheduler' do + it 'correctly schedules diff files deletion' do Sidekiq::Testing.fake! do expect(BackgroundMigrationWorker) .to receive(:perform_async) - .with(described_class::SCHEDULER) + .with(described_class::MIGRATION) .and_call_original migrate! |