summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2020-11-27 23:46:10 -0800
committerTakashi Kokubun <takashikkbn@gmail.com>2020-11-27 23:46:46 -0800
commit3378a1ccef8fe867c58b0df37a366c31d0a075a8 (patch)
treef37d98c8865a84ed649b6cce74e7ecc252a91d42
parent096f54428d8000cccce430022784cb0e7cd31cb4 (diff)
Fix compactions.size for throttling
096f54428d changes the behavior for this kind of cases.
-rw-r--r--test/ruby/test_jit.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_jit.rb b/test/ruby/test_jit.rb
index 024586671e..bec6d30dfc 100644
--- a/test/ruby/test_jit.rb
+++ b/test/ruby/test_jit.rb
@@ -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/)