Skip to content

Commit

Permalink
Fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanmontt committed Jul 16, 2024
1 parent 4ee261d commit 519eb0f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/IllimaniProfiler-Tests/IllAbstractProfilerTest.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ IllAbstractProfilerTest >> testProfileOnSimple [

"Default sampling rate is 1/100"
profiler profileOn: [ 1000 timesRepeat: [ Object new ] ].
self assert: profiler objectAllocations size > 10.
self assert: profiler objectAllocations size >= 10.
self assert: profiler objectAllocations size < 20
]

Expand All @@ -59,7 +59,7 @@ IllAbstractProfilerTest >> testSamplingRate [
| allocatedObjects profilerAllocations |

"The profiler makes some allocations when being installed."
profilerAllocations := 11.
profilerAllocations := 3.

profiler
samplingRate: 33 / 100;
Expand Down

0 comments on commit 519eb0f

Please sign in to comment.