Skip to content

Commit

Permalink
Fix flaky jruby test to widen time-based range (#961)
Browse files Browse the repository at this point in the history
  • Loading branch information
bensheldon authored May 21, 2023
1 parent b5c546d commit c98cad6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/lib/good_job/adapter_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def perform(succeed: true)
expect(GoodJob::Job.last).to have_attributes(
queue_name: 'elephant',
priority: -55,
scheduled_at: be_within(0.1).of(10.minutes.from_now)
scheduled_at: be_within(1).of(10.minutes.from_now)
)
end

Expand Down

0 comments on commit c98cad6

Please sign in to comment.