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
0a708c37
Commit
0a708c37
authored
Apr 01, 2020
by
Leandro Gomes
Committed by
Michael Kozono
Apr 01, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change Geo::FileDownloadWorker for failed-sync to test the correct scenario
parent
ff0f18ec
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
.rubocop.yml
.rubocop.yml
+0
-1
ee/spec/workers/geo/file_download_dispatch_worker_spec.rb
ee/spec/workers/geo/file_download_dispatch_worker_spec.rb
+1
-1
No files found.
.rubocop.yml
View file @
0a708c37
...
...
@@ -426,4 +426,3 @@ RSpec/RepeatedExample:
-
'
ee/spec/requests/api/merge_request_approvals_spec.rb'
-
'
ee/spec/services/boards/lists/update_service_spec.rb'
-
'
ee/spec/services/geo/repository_verification_primary_service_spec.rb'
-
'
ee/spec/workers/geo/file_download_dispatch_worker_spec.rb'
ee/spec/workers/geo/file_download_dispatch_worker_spec.rb
View file @
0a708c37
...
...
@@ -376,7 +376,7 @@ describe Geo::FileDownloadDispatchWorker, :geo, :geo_fdw, :use_sql_query_cache_f
end
it
'performs Geo::FileDownloadWorker for failed-sync job artifacts'
do
registry
=
create
(
:geo_job_artifact_registry
,
:with_artifact
,
:
never_sync
ed
)
registry
=
create
(
:geo_job_artifact_registry
,
:with_artifact
,
:
fail
ed
)
expect
(
Geo
::
FileDownloadWorker
).
to
receive
(
:perform_async
)
.
with
(
'job_artifact'
,
registry
.
artifact_id
).
once
.
and_return
(
spy
)
...
...
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