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-10-04 15:11:58 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-10-04 15:11:58 +0300
commit0327ce54a7e315b3aa6f80cc4e540fbb6792f2e3 (patch)
treef27611f4cc36d1aa9215e5bd0ff4787e60e77bd0 /spec/workers/ci
parent266aad4e70f3c642583ab60894b27b2622095cd8 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/workers/ci')
-rw-r--r--spec/workers/ci/stuck_builds/drop_running_worker_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/workers/ci/stuck_builds/drop_running_worker_spec.rb b/spec/workers/ci/stuck_builds/drop_running_worker_spec.rb
index 68b0696145a..9837902c449 100644
--- a/spec/workers/ci/stuck_builds/drop_running_worker_spec.rb
+++ b/spec/workers/ci/stuck_builds/drop_running_worker_spec.rb
@@ -57,7 +57,7 @@ RSpec.describe Ci::StuckBuilds::DropRunningWorker do
expect_to_cancel_exclusive_lease(worker_lease_key, worker_lease_uuid)
allow_next_instance_of(Ci::StuckBuilds::DropRunningService) do |service|
- allow(service).to receive(:execute) do
+ expect(service).to receive(:execute) do
raise 'The query timed out'
end
end