Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
6193b609
Commit
6193b609
authored
Feb 04, 2020
by
nmilojevic1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Stub disable request limits
parent
1f9fdd56
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
spec/tasks/gitlab/import_export/import_rake_spec.rb
spec/tasks/gitlab/import_export/import_rake_spec.rb
+3
-0
No files found.
spec/tasks/gitlab/import_export/import_rake_spec.rb
View file @
6193b609
...
...
@@ -10,6 +10,9 @@ describe 'gitlab:import_export:import rake task' do
let
(
:project
)
{
Project
.
find_by_full_path
(
"
#{
namespace_path
}
/
#{
project_name
}
"
)
}
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'
)
allow
(
Settings
.
uploads
.
object_store
).
to
receive
(
:[]=
).
and_call_original
allow_any_instance_of
(
GitlabProjectImport
).
to
receive
(
:exit
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment