Skip to content

Commit

Permalink
Check negative delay fails correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
NelsonVides committed Jan 3, 2024
1 parent 554ff8b commit 2524782
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/opuntia_SUITE.erl
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ run_shaper(Shaper, History, AccumulatedDelay, TokensLeft) ->
true ->
run_shaper(NewShaper, NewHistory, NewDelay, NewToConsume);
false ->
{NewShaper, NewHistory, NewDelay, NewToConsume}
{NewShaper, NewHistory, bad_delay}
end.

run_prop(PropName, Property, NumTests, WorkersPerScheduler) ->
Expand Down

0 comments on commit 2524782

Please sign in to comment.