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>2022-07-09 09:08:43 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-07-09 09:08:43 +0300
commit3a8425c52044f6e2a52f0654b6f94577f9eda291 (patch)
treea61bc2870e2c5bd7c8b669c729feff5e3fdcbb5a /spec/workers
parent37e1f8c80ec35e6833b0da7ac2f604ca67c91a17 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/workers')
-rw-r--r--spec/workers/ci/archive_trace_worker_spec.rb17
1 files changed, 0 insertions, 17 deletions
diff --git a/spec/workers/ci/archive_trace_worker_spec.rb b/spec/workers/ci/archive_trace_worker_spec.rb
index 52723ff5823..3ac769aab9e 100644
--- a/spec/workers/ci/archive_trace_worker_spec.rb
+++ b/spec/workers/ci/archive_trace_worker_spec.rb
@@ -27,23 +27,6 @@ RSpec.describe Ci::ArchiveTraceWorker do
subject
end
-
- context 'when sticky_ci_archive_trace_worker is disabled' do
- before do
- stub_feature_flags(sticky_ci_archive_trace_worker: false)
- end
-
- it 'does not preload associations' do
- allow_next_instance_of(Ci::ArchiveTraceService) do |instance|
- allow(instance).to receive(:execute) do |job|
- expect(job.association(:project)).not_to be_loaded
- expect(job.association(:pending_state)).not_to be_loaded
- end
- end
-
- subject
- end
- end
end
context 'when job is not found' do