mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Fix compactions.size for throttling
096f54428d
changes the behavior for this kind of cases.
This commit is contained in:
parent
096f54428d
commit
3378a1ccef
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue