Skip to content

Commit f8b7793

Browse files
committed
Give more leeway to thread allocations
1 parent 8b52632 commit f8b7793

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/test_allocations.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def test_sample_rate
4949
def test_thread_allocation
5050
result = Vernier.trace(allocation_interval: 1) do
5151
Thread.new do
52-
100.times do
52+
1000.times do
5353
Object.new
5454
end
5555
end.join
@@ -62,6 +62,6 @@ def test_thread_allocation
6262

6363
allocation_samples = other_thread.dig(:allocations, :samples)
6464

65-
assert_includes 100..130, allocation_samples.count
65+
assert_includes 1000..1100, allocation_samples.count
6666
end
6767
end

0 commit comments

Comments
 (0)