We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a48974e commit 9a53b2cCopy full SHA for 9a53b2c
test/models/solid_queue/claimed_execution_test.rb
@@ -66,9 +66,7 @@ class SolidQueue::ClaimedExecutionTest < ActiveSupport::TestCase
66
claimed_execution = prepare_and_claim_job AddToBufferJob.perform_later(42)
67
job = claimed_execution.job
68
assert_difference -> { SolidQueue::ClaimedExecution.count } => -1, -> { SolidQueue::FailedExecution.count } => 1 do
69
- assert_raises RuntimeError do
70
- claimed_execution.failed_with(RuntimeError.new)
71
- end
+ claimed_execution.failed_with(RuntimeError.new, reraise: false)
72
end
73
74
assert job.reload.failed?
0 commit comments