Skip to content

Commit

Permalink
relaxed how close created_at and scheduled_at must be to pass a test
Browse files Browse the repository at this point in the history
  • Loading branch information
pgvsalamander committed Apr 30, 2024
1 parent 1f266db commit 7c599a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/app/models/good_job/execution_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -700,7 +700,7 @@ def job_params
job_class: good_job.job_class,
queue_name: good_job.queue_name,
created_at: within(0.001).of(good_job.performed_at),
scheduled_at: within(0.001).of(good_job.created_at),
scheduled_at: within(0.1).of(good_job.created_at),
finished_at: within(1.second).of(Time.current),
error: nil,
serialized_params: good_job.serialized_params
Expand Down

0 comments on commit 7c599a7

Please sign in to comment.