diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-07-19 03:09:42 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-07-19 03:09:42 +0300 |
commit | 91d37b971433b16c25ec501429ac643f9c49839e (patch) | |
tree | 59ced702b47ff50a967653e2207f5a602513dca1 /spec/workers | |
parent | 540020f8155ff0686ae9a51a16414661e3cdaf9d (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/workers')
-rw-r--r-- | spec/workers/concerns/waitable_worker_spec.rb | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/spec/workers/concerns/waitable_worker_spec.rb b/spec/workers/concerns/waitable_worker_spec.rb index 1c23c4e3758..f6d4cc4679d 100644 --- a/spec/workers/concerns/waitable_worker_spec.rb +++ b/spec/workers/concerns/waitable_worker_spec.rb @@ -54,25 +54,6 @@ RSpec.describe WaitableWorker do worker.bulk_perform_and_wait(arguments) end - - context 'when the feature flag `inline_project_authorizations_refresh_only_for_single_element` is turned off' do - before do - stub_feature_flags(inline_project_authorizations_refresh_only_for_single_element: false) - end - - it 'inlines the jobs' do - args_list = [[1], [2], [3]] - expect(worker).to receive(:bulk_perform_inline).with(args_list).and_call_original - expect(Gitlab::AppJsonLogger).to( - receive(:info).with(a_hash_including('message' => 'running inline', - 'class' => 'Gitlab::Foo::Bar::DummyWorker', - 'job_status' => 'running', - 'queue' => 'foo_bar_dummy')) - .exactly(3).times) - - worker.bulk_perform_and_wait(args_list) - end - end end context '>= 4 jobs' do |