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
5859366a
Commit
5859366a
authored
Nov 26, 2018
by
Robert Speicher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve spec/workers/every_sidekiq_worker_spec.rb
parent
9fa2d8ab
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
9 deletions
+0
-9
spec/workers/every_sidekiq_worker_spec.rb
spec/workers/every_sidekiq_worker_spec.rb
+0
-9
No files found.
spec/workers/every_sidekiq_worker_spec.rb
View file @
5859366a
require
'spec_helper'
describe
'Every Sidekiq worker'
do
DEPRECATED_QUEUES
=
%w(geo_base_scheduler geo_file_download geo_project_sync geo_repository_shard_sync)
.
freeze
it
'does not use the default queue'
do
expect
(
Gitlab
::
SidekiqConfig
.
workers
.
map
(
&
:queue
)).
not_to
include
(
'default'
)
end
...
...
@@ -18,17 +16,10 @@ describe 'Every Sidekiq worker' do
worker_queues
<<
ActionMailer
::
DeliveryJob
.
new
.
queue_name
worker_queues
<<
'default'
<<<<<<<
HEAD
missing_from_file
=
worker_queues
-
file_worker_queues
-
DEPRECATED_QUEUES
expect
(
missing_from_file
).
to
be_empty
,
"expected
#{
missing_from_file
.
to_a
.
inspect
}
to be in Gitlab::SidekiqConfig::QUEUE_CONFIG_PATHS"
unncessarily_in_file
=
file_worker_queues
-
worker_queues
-
DEPRECATED_QUEUES
=======
missing_from_file
=
worker_queues
-
file_worker_queues
expect
(
missing_from_file
).
to
be_empty
,
"expected
#{
missing_from_file
.
to_a
.
inspect
}
to be in Gitlab::SidekiqConfig::QUEUE_CONFIG_PATHS"
unncessarily_in_file
=
file_worker_queues
-
worker_queues
>>>>>>>
upstream
/
master
expect
(
unncessarily_in_file
).
to
be_empty
,
"expected
#{
unncessarily_in_file
.
to_a
.
inspect
}
not to be in Gitlab::SidekiqConfig::QUEUE_CONFIG_PATHS"
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