Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-06-16 12:10:10 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-06-16 12:10:10 +0300
commit22e9f240efba67d752e33ebdb8ba8205f187dc83 (patch)
treeb8800e461d7a5c0f8d42400bfaa64a4165a6e4bd /spec/services/ci
parent82009412a065a58d076adbaa723268188fd9b20a (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/services/ci')
-rw-r--r--spec/services/ci/register_job_service_spec.rb14
1 files changed, 1 insertions, 13 deletions
diff --git a/spec/services/ci/register_job_service_spec.rb b/spec/services/ci/register_job_service_spec.rb
index 554fd4d4fb0..c4b1e2133ed 100644
--- a/spec/services/ci/register_job_service_spec.rb
+++ b/spec/services/ci/register_job_service_spec.rb
@@ -711,11 +711,7 @@ module Ci
end
end
- context 'when ci_register_job_service_one_by_one is enabled' do
- before do
- stub_feature_flags(ci_register_job_service_one_by_one: true)
- end
-
+ context 'when a long queue is created' do
it 'picks builds one-by-one' do
expect(Ci::Build).to receive(:find).with(pending_job.id).and_call_original
@@ -725,14 +721,6 @@ module Ci
include_examples 'handles runner assignment'
end
- context 'when ci_register_job_service_one_by_one is disabled' do
- before do
- stub_feature_flags(ci_register_job_service_one_by_one: false)
- end
-
- include_examples 'handles runner assignment'
- end
-
context 'when joining with pending builds table' do
before do
stub_feature_flags(ci_pending_builds_queue_join: true)