ruby-changes:65347
From: Aaron <ko1@a...>
Date: Fri, 26 Feb 2021 09:31:48 +0900 (JST)
Subject: [ruby-changes:65347] cfc23903df (master): Revert "Add tests for bug 17652"
https://git.ruby-lang.org/ruby.git/commit/?id=cfc23903df From cfc23903df6bde6d79292d8a0291bc82e920b54e Mon Sep 17 00:00:00 2001 From: Aaron Patterson <tenderlove@r...> Date: Thu, 25 Feb 2021 16:31:24 -0800 Subject: Revert "Add tests for bug 17652" This reverts commit a9920e7782f225b97e173a88640fe9e116b9964f. --- test/ruby/test_gc_compact.rb | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/test/ruby/test_gc_compact.rb b/test/ruby/test_gc_compact.rb index c4277d1..4a8cff3 100644 --- a/test/ruby/test_gc_compact.rb +++ b/test/ruby/test_gc_compact.rb @@ -60,22 +60,6 @@ class TestGCCompact < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_gc_compact.rb#L60 GC.auto_compact = before end - def test_bug_17652 - assert_in_out_err([], "#{<<~"{#"}#{<<~'};'}", timeout: 60) - {# - GC.auto_compact = true - - times = 20_000_000 - arr = Array.new(times) - times.times do |i| - arr[i] = "#{i}" - end - - arr = Array.new(1_000_000, 42) - GC.start - }; - end - private def supports_auto_compact? -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/