Skip to content

Commit 305bf40

Browse files
committed
Relax async lifecycle start wait
1 parent 98d13dc commit 305bf40

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/integration/async_processes_lifecycle_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ class AsyncProcessesLifecycleTest < ActiveSupport::TestCase
129129
# A claimed execution alone is not enough here because the worker may have
130130
# claimed the job but not yet entered `perform`.
131131
wait_for_jobs_to_finish_for(3.seconds, except: pause)
132-
wait_for(timeout: 2.seconds) do
132+
wait_for(timeout: 5.seconds) do
133133
skip_active_record_query_cache do
134134
JobResult.where(queue_name: :background, status: "started", value: "pause").exists?
135135
end

0 commit comments

Comments
 (0)