Fix compactions.size for throttling
096f54428d changes the behavior for this kind of cases.
This commit is contained in:
parent
096f54428d
commit
3378a1ccef
@ -695,7 +695,7 @@ class TestJIT < Test::Unit::TestCase
|
||||
# On --jit-wait, when the number of JIT-ed code reaches --jit-max-cache,
|
||||
# it should trigger compaction.
|
||||
unless RUBY_PLATFORM.match?(/mswin|mingw/) # compaction is not supported on Windows yet
|
||||
assert_equal(3, compactions.size, debug_info)
|
||||
assert_equal(1, compactions.size, debug_info)
|
||||
end
|
||||
|
||||
if RUBY_PLATFORM.match?(/mswin/)
|
||||
|
Loading…
x
Reference in New Issue
Block a user