Skip to content

Commit

Permalink
Allow wider delta for shutdown grace period test
Browse files Browse the repository at this point in the history
  • Loading branch information
sorentwo committed Oct 26, 2023
1 parent d35b5d4 commit 943b22b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/oban_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ defmodule ObanTest do

{time, _} = :timer.tc(fn -> stop_supervised(name) end)

assert_in_delta System.convert_time_unit(time, :microsecond, :millisecond), 50, 10
assert_in_delta System.convert_time_unit(time, :microsecond, :millisecond), 50, 30

refute_receive {:started, 2}, 50
refute_receive {:started, 4}, 50
Expand Down

0 comments on commit 943b22b

Please sign in to comment.