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
8830ce30
Commit
8830ce30
authored
Feb 14, 2018
by
Valery Sizov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Address code review comments
parent
cf7cf8b6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
14 deletions
+14
-14
ee/spec/services/geo/repository_sync_service_spec.rb
ee/spec/services/geo/repository_sync_service_spec.rb
+14
-14
No files found.
ee/spec/services/geo/repository_sync_service_spec.rb
View file @
8830ce30
...
...
@@ -247,20 +247,6 @@ describe Geo::RepositorySyncService do
subject
.
execute
end
context
'no repository'
do
let
(
:project
)
{
create
(
:project
)
}
it
'does not raise an error'
do
project_registry
=
create
(
:geo_project_registry
,
project:
project
,
force_to_redownload_repository:
true
)
subject
.
execute
end
end
it
'successfully redownloads the repository even if the retry time exceeds max value'
do
timestamp
=
Time
.
now
.
utc
registry
=
create
(
...
...
@@ -279,6 +265,20 @@ describe Geo::RepositorySyncService do
registry
.
reload
expect
(
registry
.
repository_retry_at
).
to
be_nil
end
context
'no repository'
do
let
(
:project
)
{
create
(
:project
)
}
it
'does not raise an error'
do
create
(
:geo_project_registry
,
project:
project
,
force_to_redownload_repository:
true
)
subject
.
execute
end
end
end
end
end
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