Skip to content

Commit 11ea3a4

Browse files
committed
Drop MMTK_HEAP_MAX in test_oom
Should be able to make the test faster.
1 parent 181e077 commit 11ea3a4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/mmtk/test_oom.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
module MMTk
66
class TestOOM < TestCase
77
def test_oom
8-
assert_in_out_err([{ "MMTK_HEAP_MAX" => "64MiB" }], <<~RUBY, [], /failed to allocate memory/)
8+
assert_in_out_err([{ "MMTK_HEAP_MAX" => "4MiB" }], <<~RUBY, [], /failed to allocate memory/)
99
10_000_000.times.map do
1010
Object.new
1111
end

0 commit comments

Comments
 (0)