tools.profiler.sampling.tests: call gc beforehand to ensure no random samples are collected
parent
08c2e3a32d
commit
0394a141d3
|
@ -22,5 +22,5 @@ gc
|
|||
[ "resource:basis/tools/memory/memory.factor" run-file ] profile
|
||||
(get-samples) length 0 >
|
||||
! Should clear it
|
||||
[ ] profile (get-samples) length
|
||||
gc [ ] profile (get-samples) length
|
||||
] unit-test
|
||||
|
|
Loading…
Reference in New Issue