diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-06-18 14:18:50 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-06-18 14:18:50 +0300 |
commit | 8c7f4e9d5f36cff46365a7f8c4b9c21578c1e781 (patch) | |
tree | a77e7fe7a93de11213032ed4ab1f33a3db51b738 /spec/services/user_project_access_changed_service_spec.rb | |
parent | 00b35af3db1abfe813a778f643dad221aad51fca (diff) |
Add latest changes from gitlab-org/gitlab@13-1-stable-ee
Diffstat (limited to 'spec/services/user_project_access_changed_service_spec.rb')
-rw-r--r-- | spec/services/user_project_access_changed_service_spec.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/spec/services/user_project_access_changed_service_spec.rb b/spec/services/user_project_access_changed_service_spec.rb index f27eeb74265..e5ecdd123f7 100644 --- a/spec/services/user_project_access_changed_service_spec.rb +++ b/spec/services/user_project_access_changed_service_spec.rb @@ -20,7 +20,11 @@ describe UserProjectAccessChangedService do it 'permits low-priority operation' do expect(AuthorizedProjectUpdate::UserRefreshWithLowUrgencyWorker).to( - receive(:bulk_perform_in).with(described_class::DELAY, [[1], [2]]) + receive(:bulk_perform_in).with( + described_class::DELAY, + [[1], [2]], + { batch_delay: 30.seconds, batch_size: 100 } + ) ) described_class.new([1, 2]).execute(blocking: false, |