diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-10-20 08:43:02 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-10-20 08:43:02 +0000 |
commit | d9ab72d6080f594d0b3cae15f14b3ef2c6c638cb (patch) | |
tree | 2341ef426af70ad1e289c38036737e04b0aa5007 /spec/lib/gitlab/sidekiq_versioning | |
parent | d6e514dd13db8947884cd58fe2a9c2a063400a9b (diff) | |
download | gitlab-ce-d9ab72d6080f594d0b3cae15f14b3ef2c6c638cb.tar.gz |
Add latest changes from gitlab-org/gitlab@14-4-stable-eev14.4.0-rc42
Diffstat (limited to 'spec/lib/gitlab/sidekiq_versioning')
-rw-r--r-- | spec/lib/gitlab/sidekiq_versioning/manager_spec.rb | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/spec/lib/gitlab/sidekiq_versioning/manager_spec.rb b/spec/lib/gitlab/sidekiq_versioning/manager_spec.rb deleted file mode 100644 index 84161d9236e..00000000000 --- a/spec/lib/gitlab/sidekiq_versioning/manager_spec.rb +++ /dev/null @@ -1,25 +0,0 @@ -# frozen_string_literal: true - -require 'spec_helper' - -RSpec.describe Gitlab::SidekiqVersioning::Manager do - before do - Sidekiq::Manager.prepend described_class - end - - describe '#initialize' do - it 'listens on all expanded queues' do - manager = Sidekiq::Manager.new(queues: %w[post_receive repository_fork cronjob unknown]) - - queues = manager.options[:queues] - - expect(queues).to include('post_receive') - expect(queues).to include('repository_fork') - expect(queues).to include('cronjob') - expect(queues).to include('cronjob:import_stuck_project_import_jobs') - expect(queues).to include('cronjob:jira_import_stuck_jira_import_jobs') - expect(queues).to include('cronjob:stuck_merge_jobs') - expect(queues).to include('unknown') - end - end -end |