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 22, 2024
1 parent 410a9ff commit dbd770e
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 dbd770e

Please sign in to comment.