diff options
author | John Cai <jcai@gitlab.com> | 2019-02-27 13:37:33 -0800 |
---|---|---|
committer | John Cai <jcai@gitlab.com> | 2019-03-01 15:25:30 -0800 |
commit | 87adc799ebeb5b69f398e9a4ed37640a0d8c6c44 (patch) | |
tree | e7bef579861a09fc8325d10f6521ce72f339b3c9 /spec/lib | |
parent | 5c9aa45489aee7cd1edaa15a30fb8a3aa24417a8 (diff) | |
download | gitlab-ce-87adc799ebeb5b69f398e9a4ed37640a0d8c6c44.tar.gz |
Removing old code path for search_files_by_content
In 11.8, we added a fix for the SearchFilesByContent RPC in gitaly to
send back the response in chunks. However, we kept in the old code path
for backwards compatibility. Now that the change is fully deployed, we
can remove that old codepath.
Diffstat (limited to 'spec/lib')
-rw-r--r-- | spec/lib/gitlab/git/repository_spec.rb | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/spec/lib/gitlab/git/repository_spec.rb b/spec/lib/gitlab/git/repository_spec.rb index e3dd02f1478..7e6dfa30e37 100644 --- a/spec/lib/gitlab/git/repository_spec.rb +++ b/spec/lib/gitlab/git/repository_spec.rb @@ -619,16 +619,6 @@ describe Gitlab::Git::Repository, :seed_helper do repository.search_files_by_content('search-files-by-content', 'search-files-by-content-branch') end end - - it_should_behave_like 'search files by content' do - let(:search_results) do - repository.gitaly_repository_client.search_files_by_content( - 'search-files-by-content-branch', - 'search-files-by-content', - chunked_response: false - ) - end - end end describe '#find_remote_root_ref' do |