diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-10-01 21:10:20 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-10-01 21:10:20 +0300 |
commit | 0b4bb101eaea8ec7c26b5d4bccc3a5a565c721d4 (patch) | |
tree | caa37c67e707c54227e679832fc7cba2583a3363 /spec/tasks | |
parent | 2d9c043ab8b576ed254a900cc57ce0bd763dfdcf (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/tasks')
-rw-r--r-- | spec/tasks/gitlab/db_rake_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/tasks/gitlab/db_rake_spec.rb b/spec/tasks/gitlab/db_rake_spec.rb index 183e1ff0831..d379a6873cf 100644 --- a/spec/tasks/gitlab/db_rake_spec.rb +++ b/spec/tasks/gitlab/db_rake_spec.rb @@ -170,7 +170,7 @@ RSpec.describe 'gitlab:db namespace rake task' do context 'when no index_name is given' do it 'rebuilds a random number of large indexes' do - expect(Gitlab::Database::PostgresIndex).to receive_message_chain('regular.random_few').and_return(indexes) + expect(Gitlab::Database::Reindexing).to receive_message_chain('candidate_indexes.random_few').and_return(indexes) expect(Gitlab::Database::Reindexing).to receive(:perform).with(indexes) run_rake_task('gitlab:db:reindex') |