Commit a1c10909 authored by nmilojevic1's avatar nmilojevic1

Add allow_n_plus_1_calls in import.rake

parent 6193b609
...@@ -10,9 +10,6 @@ describe 'gitlab:import_export:import rake task' do ...@@ -10,9 +10,6 @@ describe 'gitlab:import_export:import rake task' do
let(:project) { Project.find_by_full_path("#{namespace_path}/#{project_name}") } let(:project) { Project.find_by_full_path("#{namespace_path}/#{project_name}") }
before do before do
stub_env('GITALY_DISABLE_REQUEST_LIMITS', true)
stub_feature_flags(gitaly_enforce_requests_limits: false)
Rake.application.rake_require('tasks/gitlab/import_export/import') Rake.application.rake_require('tasks/gitlab/import_export/import')
allow(Settings.uploads.object_store).to receive(:[]=).and_call_original allow(Settings.uploads.object_store).to receive(:[]=).and_call_original
allow_any_instance_of(GitlabProjectImport).to receive(:exit) allow_any_instance_of(GitlabProjectImport).to receive(:exit)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment