aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2020-02-09 16:41:56 +0900
committerNARUSE, Yui <naruse@airemix.jp>2020-03-13 21:51:06 +0900
commita9284ecb90176b4d8e9aa264da14ea08931be48f (patch)
treebdb9a89a2f76f2ae6b45347c579f2e5da96a85c6 /test/ruby
parent215eb86a7729bf0db487f399031ad55a1062fada (diff)
downloadruby-a9284ecb90176b4d8e9aa264da14ea08931be48f.tar.gz
Disable GC until VM objects get initialized [Bug #16616]
Diffstat (limited to 'test/ruby')
-rw-r--r--test/ruby/test_thread.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ruby/test_thread.rb b/test/ruby/test_thread.rb
index f8127d8786..30a3cc784e 100644
--- a/test/ruby/test_thread.rb
+++ b/test/ruby/test_thread.rb
@@ -1150,6 +1150,7 @@ q.pop
"0 thread_machine_stack_size")
assert_operator(h_default[:thread_machine_stack_size], :<=, h_large[:thread_machine_stack_size],
"large thread_machine_stack_size")
+ assert_equal("ok", invoke_rec('print :ok', 1024 * 1024 * 100, nil, false))
end
def test_vm_machine_stack_size