Skip to content

Commit

Permalink
Blegh
Browse files Browse the repository at this point in the history
  • Loading branch information
julik committed Jan 21, 2024
1 parent ecc76b4 commit a4675e6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/leaky_bucket_postgres_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,8 @@ def teardown
test "allows conditional fillup even if the bucket leaks out to 0 between calls" do
bucket = Pecorino::LeakyBucket.new(key: Random.uuid, over_time: 0.5, capacity: 30)
30.times do
assert bucket.fillup_conditionally(1).accepted?
st = bucket.fillup_conditionally(1).accepted?
warn st.inspect
end
st = bucket.fillup_conditionally(1)
warn st.inspect
Expand Down

0 comments on commit a4675e6

Please sign in to comment.