Skip to content
Snippets Groups Projects
Commit 5ac0e975 authored by John Skarbek's avatar John Skarbek Committed by Albert Salim
Browse files

Merge branch 'bump-allowed-queries-in-destroy-all-expired-service' into '14-7-stable-ee-patch-6'

Bump allowed number of queries to unblock patch release

See merge request gitlab-org/gitlab!83217
parent b7c7d8d1
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -40,7 +40,7 @@ RSpec.describe Ci::JobArtifacts::DestroyAllExpiredService, :clean_gitlab_redis_s
# COMMIT
# SELECT next expired ci_job_artifacts
 
expect(log.count).to be_within(1).of(10)
expect(log.count).to be_within(1).of(11)
end
end
 
Loading
Loading
@@ -51,7 +51,7 @@ RSpec.describe Ci::JobArtifacts::DestroyAllExpiredService, :clean_gitlab_redis_s
 
it 'performs the smallest number of queries for job_artifacts' do
log = ActiveRecord::QueryRecorder.new { subject }
expect(log.count).to be_within(1).of(8)
expect(log.count).to be_within(1).of(9)
end
 
context 'with several locked-unknown artifact records' do
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment