Revert "Add tests for bug 17652"
This reverts commit a9920e7782f225b97e173a88640fe9e116b9964f.
This commit is contained in:
parent
f0743dd2a4
commit
cfc23903df
@ -60,22 +60,6 @@ class TestGCCompact < Test::Unit::TestCase
|
||||
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?
|
||||
|
Loading…
x
Reference in New Issue
Block a user